Update auth.php

This commit is contained in:
Julian Prieber 2023-12-18 16:09:45 +01:00
parent 93461054a2
commit 89981b3ecf

View File

@ -29,6 +29,7 @@ if(config('advanced-config.forgot_password_url') != '') {
} }
if(env('ALLOW_REGISTRATION') or $register !== '/register') { if(env('ALLOW_REGISTRATION') or $register !== '/register') {
Route::post('/validate-handle', [RegisteredUserController::class, 'validateHandle']);
Route::get($register, [RegisteredUserController::class, 'create']) Route::get($register, [RegisteredUserController::class, 'create'])
->middleware('guest') ->middleware('guest')
->middleware('max.users') ->middleware('max.users')