Update auth.php
This commit is contained in:
parent
93461054a2
commit
89981b3ecf
|
@ -29,6 +29,7 @@ if(config('advanced-config.forgot_password_url') != '') {
|
|||
}
|
||||
|
||||
if(env('ALLOW_REGISTRATION') or $register !== '/register') {
|
||||
Route::post('/validate-handle', [RegisteredUserController::class, 'validateHandle']);
|
||||
Route::get($register, [RegisteredUserController::class, 'create'])
|
||||
->middleware('guest')
|
||||
->middleware('max.users')
|
||||
|
|
Loading…
Reference in New Issue