Create websites with TailwindCSS
Create a static website
The Markdown editor of the future
Start building the next great SaaS
Create web designs with AI
Connect with fellow developers and gain access to tools that will help you build a profitable SaaS 🚀
Tony Lea
Founder / Developer
Bobby Iliev
Co-Founder / DevOps
Boyan Iliev
Developer / DevOps
Have a question or need help
Learn about sponsorships
The boring legal stuff
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.
Sign up using 𝕏 or GitHub ✌️ Login using 𝕏, GitHub, or Email 🤙
New to DevDojo?Sign up now
Already Have an Account?Click here to Login