Commit f537e4c963a8229c79554b537433f3c7f4d8efc9
1 parent
dc5bd10d
Exists in
spb-stable
and in
3 other branches
Confirmation url throttle.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
config/initializers/rack_attack.rb.example
... | ... | @@ -7,7 +7,8 @@ paths_to_be_protected = [ |
7 | 7 | "#{Rails.application.config.relative_url_root}/users/sign_in", |
8 | 8 | "#{Rails.application.config.relative_url_root}/api/#{API::API.version}/session.json", |
9 | 9 | "#{Rails.application.config.relative_url_root}/api/#{API::API.version}/session", |
10 | - "#{Rails.application.config.relative_url_root}/users" | |
10 | + "#{Rails.application.config.relative_url_root}/users", | |
11 | + "#{Rails.application.config.relative_url_root}/users/confirmation" | |
11 | 12 | ] |
12 | 13 | |
13 | 14 | unless Rails.env.test? | ... | ... |