disable login and register in laravel code example Example: disable register laravel Auth::routes(['register' => false]);