mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 09:25:12 +00:00
Merge commit from fork
* fix: respect lockout policy on password change (with old password) * add tarpitting * cleanup
This commit is contained in:
@@ -143,6 +143,7 @@ func CheckOTPSMS(code string) SessionCommand {
|
||||
cmd.getCodeVerifier,
|
||||
succeededEvent,
|
||||
failedEvent,
|
||||
cmd.tarpit,
|
||||
)
|
||||
if err != nil {
|
||||
return commands, err
|
||||
@@ -183,6 +184,7 @@ func CheckOTPEmail(code string) SessionCommand {
|
||||
nil, // email currently always uses local code checks
|
||||
succeededEvent,
|
||||
failedEvent,
|
||||
cmd.tarpit,
|
||||
)
|
||||
if err != nil {
|
||||
return commands, err
|
||||
|
||||
Reference in New Issue
Block a user