PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Disable public user register

Solved
oltean-tiberiu

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

andrewo0

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.