mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix re-sending of e-mail confirmation not being rate limited (#13360)
Fix #13330
This commit is contained in:
parent
dd23fc6b12
commit
9241cbf861
@ -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)}/ })
|
||||
|
Loading…
x
Reference in New Issue
Block a user