You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if use ResetsPasswords trait in PasswordController,
function resetPassword update $user->password = bcrypt($password); (line 113) with double encrypt...
I was long time search why user can't login after restore password but problem was in this function.
because, if update password field in user object, Eloquent automatically encrypt password.
problem solved if change $user->password = bcrypt($password); to $user->password = $password;
The text was updated successfully, but these errors were encountered:
if use ResetsPasswords trait in PasswordController,
function resetPassword update $user->password = bcrypt($password); (line 113) with double encrypt...
I was long time search why user can't login after restore password but problem was in this function.
because, if update password field in user object, Eloquent automatically encrypt password.
problem solved if change $user->password = bcrypt($password); to $user->password = $password;
The text was updated successfully, but these errors were encountered: