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
{{ message }}
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.
Hey.
Recently, I faced a strange issue and I am not sure where this came from:
Based on the sample app, my application did not persist the password set using User::changePassword. In the end I removed the public field access with a setter method and then it worked.
Old code in User::changePassword which did not work: a.providerUserId = authUser.getHashedPassword();
New code: a.setProviderUserId(authUser.getHashedPassword());
Version used: Play 2.6.21.
All the best.
Jens
The text was updated successfully, but these errors were encountered:
Hey.
Recently, I faced a strange issue and I am not sure where this came from:
Based on the sample app, my application did not persist the password set using User::changePassword. In the end I removed the public field access with a setter method and then it worked.
Old code in User::changePassword which did not work:
a.providerUserId = authUser.getHashedPassword();
New code:
a.setProviderUserId(authUser.getHashedPassword());
Version used: Play 2.6.21.
All the best.
Jens
The text was updated successfully, but these errors were encountered: