mirror of
https://github.com/discourse/discourse.git
synced 2025-01-22 15:39:45 +08:00
5b7bddf966
The UI used to request a password reset by username when the user was logged in. This did not work when hide_email_already_taken site setting was enabled, which disables the lookup-by-username functionality. This commit also introduces a check to ensure that the parameter is an email when hide_email_already_taken is enabled as the single allowed type is email (no usernames are allowed). |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |