Disable account registering from disabled email provider

This commit is contained in:
Peter Papp
2021-07-23 13:28:40 +02:00
parent 8951ebc69f
commit eaec744356
30 changed files with 733 additions and 71 deletions
@@ -19,7 +19,7 @@ class ProtectSetupWizardRoutes
DB::getPdo();
// Get setup_wizard status
if (Schema::hasTable('settings') && get_setting('setup_wizard_success')) {
if (Schema::hasTable('settings') && get_settings('setup_wizard_success')) {
return response('Gone', 410);
}