mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 00:39:02 +01:00
Fix re-sending of e-mail confirmation not being rate limited (#13360)
Fix #13330
This commit is contained in:
parent
dd23fc6b12
commit
9241cbf861
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ class Rack::Attack
|
||||||
/auth/sign_in
|
/auth/sign_in
|
||||||
/auth
|
/auth
|
||||||
/auth/password
|
/auth/password
|
||||||
|
/auth/confirmation
|
||||||
).freeze
|
).freeze
|
||||||
|
|
||||||
PROTECTED_PATHS_REGEX = Regexp.union(PROTECTED_PATHS.map { |path| /\A#{Regexp.escape(path)}/ })
|
PROTECTED_PATHS_REGEX = Regexp.union(PROTECTED_PATHS.map { |path| /\A#{Regexp.escape(path)}/ })
|
||||||
|
|
Loading…
Reference in a new issue