mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
14efd17b7b
When hide_email_address_taken was disabled, the forgot password modal showed a flash message and continued to display the form causing confusion. This change shows the flash message only when an error occurs and in all other cases it shows a success message and hides the form.