]> git.openstreetmap.org Git - rails.git/commitdiff
Be paranoid when sending password reset emails
authorAndy Allan <git@gravitystorm.co.uk>
Sat, 2 Mar 2024 15:48:54 +0000 (15:48 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Sat, 2 Mar 2024 15:48:54 +0000 (15:48 +0000)
This implements what is known as "paranoid" password reset flash
messages (using the terminology from Devise). It avoids revealing
whether the supplied email address is already registered.

Added an explicit test for this situation, so that the test for
email non-existance is separate from the duplicate-case tests.


No differences found