mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: if waitlist is disabled, redirect to register
This commit is contained in:
1 parent
3d0354cf7e
commit
e18766ec21
4 files changed
+6
-3
No files matched your search
@@ -23,6 +23,9 @@ class Index extends Component
|
||||
}
|
||||
public function mount()
|
||||
{
|
||||
if (config('coolify.waitlist') == false) {
|
||||
return redirect()->route('register');
|
||||
}
|
||||
$this->waitingInLine = Waitlist::whereVerified(true)->count();
|
||||
$this->users = User::count();
|
||||
if (isDev()) {
|
||||
|
||||
Reference in new issue
Block a user