15ttl
Build docker and publish / build (20.15.1) (push) Successful in 6m0s

This commit is contained in:
2026-01-09 00:43:52 -08:00
parent 7b33ab6e2a
commit d45f4417ed
7 changed files with 24 additions and 12 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func (l *EmailLoginLogic) EmailLogin(req *types.EmailLoginRequest) (resp *types.
if err := json.Unmarshal([]byte(value), &payload); err != nil {
continue
}
if payload.Code == req.Code && time.Now().Unix()-payload.LastAt <= 600 {
if payload.Code == req.Code && time.Now().Unix()-payload.LastAt <= 900 {
verified = true
cacheKeyUsed = cacheKey
break