Files
Robert SpeicherandRobert Speicher 0c0854c86a Merge branch 'devise_paranoid_mode' into 'master'
Enable Devise paranoid mode and ensure the returned message is the same
every time. This will prevent user enumeration (low impact). 

Prior to this change a user could type an email in the password reset
field and if the email didn't exist it returned an error. If the email
was valid it returned a message saying the forgot password link had been
emailed. After this change the user will receive a message that if the
email is in our database the reset link will be emailed. 

I also changed the throttle mechanism so it still works the same but
now returns the exact same message as above. Previously it would say
'You've already sent a request. Wait a few minutes'. This also allows
user enumeration, although it requires a double-check.

Related to https://dev.gitlab.org/gitlab/gitlabhq/issues/2624

See merge request !2044
2015-12-09 20:59:14 -05:00
..
2015-09-10 13:42:41 +03:00
2015-05-15 15:32:49 +02:00
2011-10-09 00:36:38 +03:00
2015-10-15 12:05:01 +02:00
2015-02-02 21:34:16 -08:00
2013-10-09 15:25:31 +03:00
2015-04-15 12:25:24 -04:00
2015-03-20 16:13:03 -07:00
2015-10-15 12:05:01 +02:00
2015-08-25 18:42:46 -07:00
2011-10-09 00:36:38 +03:00