mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
production modifications
This commit is contained in:
1 parent
c44a9afdeb
commit
30f597c563
17 files changed
+135
-21
No files matched your search
@@ -33,7 +33,7 @@ class FortifyServiceProvider extends ServiceProvider
|
||||
Fortify::registerView(function () {
|
||||
$settings = InstanceSettings::find(0);
|
||||
if (!$settings->is_registration_enabled) {
|
||||
abort(403);
|
||||
return redirect()->route('login');
|
||||
}
|
||||
return view('auth.register');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user