This commit is contained in:
eson
2023-09-04 16:59:43 +08:00
parent 397dda8ebf
commit 03bd7cd5eb
7 changed files with 73 additions and 38 deletions

View File

@@ -49,7 +49,7 @@ var FsPasser *passer.Passer[sm.Result] = func() *passer.Passer[sm.Result] {
userState := &UserState{
UserId: cmd.UserId,
PwdHash: auth.StringToHash(*user.PasswordHash),
UpdateAt: time.Now(),
UpdateAt: time.Now().UTC(),
}
s.store[cmd.UserId] = userState