Skip to content

Commit 4f7aaab

Browse files
Merge pull request #115 from imliam/patch-1
Change password status check to strict comparison
2 parents a4c8ecf + 1a2e855 commit 4f7aaab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/livewire/auth/reset-password.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function ($user) {
5656
// If the password was successfully reset, we will redirect the user back to
5757
// the application's home authenticated view. If there is an error we can
5858
// redirect them back to where they came from with their error message.
59-
if ($status != Password::PasswordReset) {
59+
if ($status !== Password::PasswordReset) {
6060
$this->addError('email', __($status));
6161
6262
return;

0 commit comments

Comments
 (0)