🔒 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
  • 688
    Views
  • 3
    Participants
Last reply from:
haxxorisme

Trending Topics

Online now

Members online
1,122
Guests online
3,559
Total visitors
4,681

Forum statistics

Threads
2,306,063
Posts
29,169,509
Members
1,194,634
Latest member
uzu_2004
Back
Top