mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-02 04:16:44 +01:00
Update auth.php
This commit is contained in:
parent
89981b3ecf
commit
30523f13ef
@ -28,8 +28,8 @@ if(config('advanced-config.forgot_password_url') != '') {
|
||||
$forgot_password = "/forgot-password";
|
||||
}
|
||||
|
||||
Route::post('/validate-handle', [RegisteredUserController::class, 'validateHandle']);
|
||||
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…
x
Reference in New Issue
Block a user