Jump to content

Restrict Registration Form


Recommended Posts


In my virtual airline'm using a separate system PHPVMS to the evaluation and admission of new crew. (And a kind of training center)

I would like to leave the PHPVMS the registration page restricted to staff.

After the pilot is approved in the proof of the training center, a staff makes the registration manually in PHPVMS.

Edited by eliezerazevedo
Link to comment
Share on other sites


find this


replace it with this

if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) {
} else {
echo 'Not Authorised!';

I see now, they are not logged in, ha. (get forgetful once every while)

Edited by web541
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...