diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 6ed5e654e..c94574ce3 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -45,15 +45,14 @@ class AppServiceProvider extends ServiceProvider private function configurePasswords(): void { Password::defaults(function () { - $rule = Password::min(8)->letters(); - return App::isProduction() - ? $rule->mixedCase() + ? Password::min(8) + ->mixedCase() ->letters() ->numbers() ->symbols() ->uncompromised() - : $rule; + : Password::min(8)->letters(); }); }