What's new

Closed User registration with admin approval

Status
Not open for further replies.

iCipher

Eternal Poster
Joined
May 22, 2015
Posts
784
Reaction
374
Points
370
sino po nakakaalam yung pag katapos mag register ng user kailangan muna ma approved ng admin para makapag login:)
 
Last edited by a moderator:
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.
Back
Top