Fix 'Could not find matching constructor' while change password for users - #731
Fix 'Could not find matching constructor' while change password for users#731dixitdeepak wants to merge 2 commits into
Conversation
SimpleAuthenticationInfo expects a ByteSource as its salt argument. Passing an empty string for accounts without a password salt caused Groovy to resolve an invalid String, String, String, String constructor. This matches the pattern used by MoquiShiroRealm.getAuthenticationInfo and applies to both current-password and reset-password verification.
|
Attached error for reference
|
SimpleAuthenticationInfo expects a ByteSource as its salt argument. Passing an empty string for accounts without a password salt caused Groovy to resolve an invalid String, String, String, String constructor.
This matches the pattern used by MoquiShiroRealm.getAuthenticationInfo and applies to both current-password and reset-password verification.