Skip to content

Commit

Permalink
Confirmation url throttle.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlazio committed Dec 24, 2013
1 parent dc5bd10 commit f537e4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/rack_attack.rb.example
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit f537e4c

Please sign in to comment.