Fix re-sending of e-mail confirmation not being rate limited (#13360)

Fix #13330
main
Eugen Rochko 2020-03-31 18:20:48 +02:00 committed by GitHub
parent dd23fc6b12
commit 9241cbf861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class Rack::Attack
/auth/sign_in
/auth
/auth/password
/auth/confirmation
).freeze
PROTECTED_PATHS_REGEX = Regexp.union(PROTECTED_PATHS.map { |path| /\A#{Regexp.escape(path)}/ })