fix
This commit is contained in:
parent
2372dab72b
commit
ac834fa299
|
@ -80,8 +80,8 @@ func ParseJwtToken(r *http.Request, svcCtx any) (*auth.UserInfo, error) {
|
|||
us, err := shared.GetUserState(info.UserId, gdb)
|
||||
|
||||
if err != nil {
|
||||
log.Println("error", info)
|
||||
logx.Error(err)
|
||||
// logx.Println("error", info)
|
||||
logx.Error(err, ":", info)
|
||||
return nil, err
|
||||
}
|
||||
secret = us.PwdHash // 获取密码的hash做jwt, 便于重置密码的使用
|
||||
|
|
Loading…
Reference in New Issue
Block a user