Create
Tools
Account
Free & open source
On GitHub
Resources
Community
Platform
Open Source
Oltean Tiberiu
Apr 13th, 2019. Last update Apr 15th, 2019
Apr 13th, 2019 08:01 PM
hi, how do I disable public user register, in my project I want to create user just from admin
Apr 15th, 2019 05:43 AM
Best Answer
In your RegistartionController you can add this so it will always redirect back to login page.
public function showRegistrationForm() { return redirect('login'); }
Or you can do this in your web.php by overwriting the registration route.
Log in to pick up where you left off.
New to DevDojo? Create an account
Free to start. Your first site is a sentence away.
By continuing you agree to the Terms of Service.
Already have an account? Log in