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