DONE: fix bypass password on production not working
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user