From 3e1a75dfea148e34aff1eb40b2dd04fb5b1ed9ad Mon Sep 17 00:00:00 2001 From: Miguel N Date: Wed, 6 Jan 2021 01:30:57 +0000 Subject: [PATCH] Set default 0 for password_expiry --- database/seeders/DefaultOptionsSeeder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/seeders/DefaultOptionsSeeder.php b/database/seeders/DefaultOptionsSeeder.php index a94e445..70b4557 100755 --- a/database/seeders/DefaultOptionsSeeder.php +++ b/database/seeders/DefaultOptionsSeeder.php @@ -46,7 +46,7 @@ class DefaultOptionsSeeder extends Seeder // added in 0.6.2 Options::setOption('pw_security_policy', 'low', 'Describes the current password security policy.', 'app_security'); Options::setOption('graceperiod', 7, '2FA Grace Period', 'app_security'); - Options::setOption('password_expiry', 'disabled', 'Defines wether passwords must be reset after $value', 'app_security'); + Options::setOption('password_expiry', '0', 'Defines wether passwords must be reset after $value', 'app_security'); Options::setOption('force2fa', false, 'Defines whether 2fa is forced upon users', 'app_security'); Options::setOption('force2faRole', 'reviewer', 'Defines which role to force 2fa for', 'app_security'); Options::setOption('requireGameLicense', true, 'Defines whether people need to validate their game license', 'app_security');