🔒 Closed User registration with admin approval

Status
Not open for further replies.

iCipher

Eternal Poster
sino po nakakaalam yung pag katapos mag register ng user kailangan muna ma approved ng admin para makapag login:)
 
here's the logic

after the users register, your system must have a function to approve or reject the users.
this might be useful if you have stored it on database like a column for `isApprove` that contains 1 or 0


now its your choice how you design it but in my case i did it that the isApprove column has the default value of 0
if isApprove is equal to 0 then the user is still pending and waiting for the admins approval
if isApprove is equal to 1 then the user is approved by the admin of the system
 
Parang yung unang suggestion lang. There's a magic button sa system na ang admin lang nakaka access sa mga pending users. Kapag naclick si button eh
Gawin mong true ang membership ganun.
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 687
    Views
  • 3
    Participants
Last reply from:
haxxorisme

Trending Topics

Online now

Members online
1,178
Guests online
1,322
Total visitors
2,500

Forum statistics

Threads
2,293,038
Posts
29,081,134
Members
1,208,635
Latest member
xLara
Back
Top