commit 69ce6d9c9570b2402f350d8fadf82653c05ff10a
parent 725a39ee5244f2a40a9bf1bbf93181f3f17820b6
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sat, 3 Dec 2022 17:14:32 -0500
useless
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go
@@ -1197,7 +1197,6 @@ func ForgotPasswordHandler(c echo.Context) error {
if err := user.ChangePassword(hashedPassword); err != nil {
logrus.Error(err)
}
- c.SetCookie(createSessionCookie("", -1))
database.CreateSecurityLog(user.ID, database.PasswordRecoverySecurityLog)
partialRecovery2Cache.Delete(partialRecovery2Cookie.Value)