summaryrefslogtreecommitdiff
path: root/config/initializers/rack_attack.rb.example
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2013-12-24 10:11:33 +0100
committerMarin Jankovski <marin@gitlab.com>2013-12-24 10:11:33 +0100
commitf537e4c963a8229c79554b537433f3c7f4d8efc9 (patch)
tree97c45a35f7ef47d49565eec03edcbcf6c4a13351 /config/initializers/rack_attack.rb.example
parentdc5bd10d45481268f00c8cc9f8500d29d392e07f (diff)
downloadgitlab-ce-f537e4c963a8229c79554b537433f3c7f4d8efc9.tar.gz
Confirmation url throttle.
Diffstat (limited to 'config/initializers/rack_attack.rb.example')
-rw-r--r--config/initializers/rack_attack.rb.example3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/rack_attack.rb.example b/config/initializers/rack_attack.rb.example
index 1d10a53d505..bc3234bf0b6 100644
--- a/config/initializers/rack_attack.rb.example
+++ b/config/initializers/rack_attack.rb.example
@@ -7,7 +7,8 @@ paths_to_be_protected = [
"#{Rails.application.config.relative_url_root}/users/sign_in",
"#{Rails.application.config.relative_url_root}/api/#{API::API.version}/session.json",
"#{Rails.application.config.relative_url_root}/api/#{API::API.version}/session",
- "#{Rails.application.config.relative_url_root}/users"
+ "#{Rails.application.config.relative_url_root}/users",
+ "#{Rails.application.config.relative_url_root}/users/confirmation"
]
unless Rails.env.test?