Roundup Tracker - Issues

Message6949

Author rouilj
Recipients ThomasAH, ber, ezio.melotti, luke, rouilj
Date 2020-08-29.04:27:56
Message-id <1598675276.65.0.817404172768.issue2550716@roundup.psfhosted.org>
In-reply-to
> If the probe guesses wrong, an error is raised rather than
> an "email has been sent" message.
>
> In this case I would suggest disabling the reset mechanism
> entirely (although I am not quite sure how this would be done).

To do this just replace the passrst action using an extension.

The extension wraps the existing actions.PassResetAction to see if
the user email exists. If not return a "Email sent to $address"
using the submitted address but don't actually send anything. If
the email is valid call actions.PassResetAction to do the reset.

See how the login action is wrapped in: https://wiki.roundup-
tracker.org/LoginWithEmail

Added documentation on how password reset works in the web interface
rev:6257:f9c059921ccc
History
Date User Action Args
2020-08-29 04:27:56rouiljsetmessageid: <1598675276.65.0.817404172768.issue2550716@roundup.psfhosted.org>
2020-08-29 04:27:56rouiljsetrecipients: + rouilj, ber, ThomasAH, ezio.melotti, luke
2020-08-29 04:27:56rouiljlinkissue2550716 messages
2020-08-29 04:27:56rouiljcreate