UserFrosting icon indicating copy to clipboard operation
UserFrosting copied to clipboard

Wrong message when admin resets password for a user

Open malle-pietje opened this issue 7 years ago • 1 comments

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 matches an account in our system, a password reset link will be sent to .

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.

malle-pietje avatar Feb 15 '18 12:02 malle-pietje

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.

amosfolz avatar Jul 08 '19 14:07 amosfolz

Messages have been updated :

Old : Capture d’écran, le 2023-12-10 à 21 08 14

New: Capture d’écran, le 2023-12-10 à 21 24 42

lcharette avatar Dec 11 '23 02:12 lcharette