mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-08 20:52:20 +00:00
production modifications
This commit is contained in:
@@ -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