mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Added default avatar to seeder
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
48a8cf6b70
commit
ca7c0aa47c
|
@ -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();
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue