clarkeash / doorman

Limit access to your Laravel applications by using invite codes
https://packagist.org/packages/clarkeash/doorman
MIT License
1.02k stars 45 forks source link

Can this work on one view? #26

Closed iiCe89 closed 7 years ago

iiCe89 commented 7 years ago

Im looking to restrict registration to only users with invite codes is it possible to achieve this with Doorman? or is this really to restrict whole application?

clarkeash commented 7 years ago

Look at the validation section https://github.com/clarkeash/doorman#validation and use this in your registration controller