UserFrosting
UserFrosting copied to clipboard
Wrong message when admin resets password for a user
When an admin resets a password for a user (who has not yet confirmed registration, open registration is disabled) using the "Send the user a link that will allow them to choose their own password" option, the message the admin sees is:
If the email
No email message is sent to the user's email address which is correct behavior IMHO.
However, I think the message should inform the admin this only applies to users who have set their password or for activated accounts.
Should be a simple fix. The message at this line needs to be updated, probably with two new translation sub keys.
However, I think the message should inform the admin this only applies to users who have set their password or for activated accounts.
Since this is an access-controlled resource I think it would be safe to even perform a check and then return a different message depending on the outcome.
I will come back to this once https://github.com/userfrosting/UserFrosting/pull/1006 is merged.
Messages have been updated :
Old :
New: