This commit is contained in:
Your Name 2023-10-07 09:39:14 -04:00
parent caa80fd73b
commit 016aacca97
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ func RecoverByEmail(email string) {
return return
} }
recoverycode := generatePassword(16) recoverycode := generatePassword(16)
u.Delete("recoverykey") u.Delete("recoverycode")
u.Delete("recoverytime") u.Delete("recoverytime")
u.Set("recoverycode", string(recoverycode)) u.Set("recoverycode", string(recoverycode))