mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-22 15:30:15 +01:00
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') {
|
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user