DONE: fix bypass password on production not working (#14)
Build Docker Image / build-backend (push) Successful in 4m51s
Build Docker Image / build-frontend (push) Successful in 15s

Co-authored-by: ISMAIL MASSERAN <topaz@ISMAILs-Macbook.local>
Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
2026-07-16 11:56:03 +08:00
parent d0f5e368e3
commit 06b687f408
3 changed files with 44 additions and 107 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class FortifyServiceProvider extends ServiceProvider
$failLogin();
}
$shouldBypassPassword = config('app.env', 'local');
$shouldBypassPassword = app()->environment('local');
if (! $shouldBypassPassword && ! Hash::check($request->password, $user->password)) {
$failLogin();