Merge commit from fork

* fix: respect lockout policy on password change (with old password)

* add tarpitting

* cleanup
This commit is contained in:
Livio Spring
2025-10-29 10:07:35 +01:00
committed by GitHub
parent 72a5c33e6a
commit b8db8cdf9c
17 changed files with 619 additions and 49 deletions
+2
View File
@@ -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