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

Trending Topics

Online now

Members online
354
Guests online
608
Total visitors
962

Forum statistics

Threads
2,279,398
Posts
28,990,462
Members
1,226,869
Latest member
Owengheart
Back
Top