chore: remove waitlist redirect
This commit is contained in:
parent
119c18468a
commit
c27e2e328f
1 changed files with 4 additions and 7 deletions
|
|
@ -50,13 +50,10 @@ public function boot(): void
|
|||
if (! $settings->is_registration_enabled) {
|
||||
return redirect()->route('login');
|
||||
}
|
||||
if (config('constants.waitlist.enabled')) {
|
||||
return redirect()->route('waitlist.index');
|
||||
} else {
|
||||
return view('auth.register', [
|
||||
'isFirstUser' => $isFirstUser,
|
||||
]);
|
||||
}
|
||||
|
||||
return view('auth.register', [
|
||||
'isFirstUser' => $isFirstUser,
|
||||
]);
|
||||
});
|
||||
|
||||
Fortify::loginView(function () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue