feat(spot): fixed jwt token expiration date
This commit is contained in:
parent
e4555cf7af
commit
8ba496277f
1 changed files with 1 additions and 1 deletions
|
|
@ -9,5 +9,5 @@ func (a *authImpl) IsAuthorized(authHeader string, permissions []string, isExten
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return authUser(a.pgconn, jwtInfo.UserId, jwtInfo.TenantID, int(jwtInfo.IssuedAt.Unix()))
|
||||
return authUser(a.pgconn, jwtInfo.UserId, jwtInfo.TenantID, int(jwtInfo.ExpiresAt.Unix()))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue