more
This commit is contained in:
parent
caa80fd73b
commit
016aacca97
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue