gitlab-org--gitlab-foss/spec
Robert Speicher ba79d1e5b8 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-10 01:58:11 +00:00
..
benchmarks
controllers Merge branch 'serve_lfs_object' into 'master' 2015-12-08 14:19:52 +00:00
factories Merge branch 'master' into merge-if-green 2015-12-09 09:00:25 +01:00
features Merge branch 'devise_paranoid_mode' into 'master' 2015-12-10 01:58:11 +00:00
finders
fixtures Use URL helpers in specs 2015-12-03 14:00:09 +01:00
helpers Improve text indication visibility on snippets 2015-12-08 14:31:24 -08:00
javascripts Make tab target selectors less naive 2015-12-08 14:47:28 -05:00
lib Tag lib specs 2015-12-09 11:55:42 +01:00
mailers fix deprecation messages in tests 2015-12-03 10:33:43 +02:00
models Merge branch 'master' into split-up-builds 2015-12-09 13:56:26 +01:00
requests Merge branch 'master' into merge-if-green 2015-12-08 22:34:03 +01:00
routing
services Merge branch 'master' into split-up-builds 2015-12-09 13:56:26 +01:00
support Merge branch 'serve_lfs_object' into 'master' 2015-12-08 14:19:52 +00:00
tasks/gitlab
views/help
workers
factories.rb
factories_spec.rb
rails_helper.rb
spec_helper.rb
teaspoon_env.rb