diff options
author | Marin Jankovski <marin@gitlab.com> | 2013-12-24 13:11:33 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2013-12-24 13:11:33 +0400 |
commit | f537e4c963a8229c79554b537433f3c7f4d8efc9 (patch) | |
tree | 97c45a35f7ef47d49565eec03edcbcf6c4a13351 /config/initializers/rack_attack.rb.example | |
parent | dc5bd10d45481268f00c8cc9f8500d29d392e07f (diff) |
Confirmation url throttle.
Diffstat (limited to 'config/initializers/rack_attack.rb.example')
-rw-r--r-- | config/initializers/rack_attack.rb.example | 3 |
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? |