Commit 9241cbf8 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub

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

Fix #13330
parent dd23fc6b
......@@ -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)}/ })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment