Added default avatar to seeder

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-20 00:59:25 +01:00
parent 48a8cf6b70
commit ca7c0aa47c
2 changed files with 2 additions and 0 deletions

View file

@ -73,6 +73,7 @@ class ResetDemoSettings extends Command
$settings->saml_forcelogin = '0';
$settings->saml_slo = null;
$settings->saml_custom_settings = null;
$settings->default_avatar = 'default.png';
$settings->save();

View file

@ -36,6 +36,7 @@ class SettingsSeeder extends Seeder
$settings->version_footer = 'on';
$settings->support_footer = 'on';
$settings->pwd_secure_min = '8';
$settings->default_avatar = 'default.png';
$settings->save();
if ($user = User::where('username', '=', 'admin')->first()) {