We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the UserValidator, if the user inputs mismatched passwords, it it returning the error message for wrong confirmation code:
public function validatePassword(ConfideUserInterface $user) { $hash = App::make('hash'); if ($user->getOriginal('password') != $user->password) { if ($user->password === $user->password_confirmation) { // Hashes password and unset password_confirmation field $user->password = $hash->make($user->password); } else { $this->attachErrorMsg( $user, 'confide::confide.alerts.wrong_confirmation', 'password_confirmation' ); return false; } } unset($user->password_confirmation); return true; }
Shouldn't it return a message pertaining to the password mismatch?
The text was updated successfully, but these errors were encountered:
It seems that you are using an old version of the package, look: https://github.com/Zizaco/confide/blob/master/src/Confide/UserValidator.php#L96
Sorry, something went wrong.
ah! i was on the username optional branch, so that explains it :)
I had this problem too today and updating fixed it, thanks for the fix.
No branches or pull requests
In the UserValidator, if the user inputs mismatched passwords, it it returning the error message for wrong confirmation code:
Shouldn't it return a message pertaining to the password mismatch?
The text was updated successfully, but these errors were encountered: