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

View File

@@ -22,7 +22,7 @@ class AppServiceProvider extends ServiceProvider
public function boot()
{
try {
$app_locale = get_setting('language') ?? 'en';
$app_locale = get_settings('language') ?? 'en';
} catch (\PDOException $exception) {
$app_locale = 'en';
}