Merge remote-tracking branch 'origin/tuoyun' into tuoyun

pull/232/head
Gordon 3 years ago
commit 19bffa288d

@ -135,6 +135,7 @@ func GetUserIDFromToken(token string, operationID string) (bool, string, string)
log.Error(operationID, "ParseToken failed, ", err.Error(), token) log.Error(operationID, "ParseToken failed, ", err.Error(), token)
return false, "", err.Error() return false, "", err.Error()
} }
log.Debug(operationID, "token claims.ExpiresAt.Second() ", claims.ExpiresAt.Second())
return true, claims.UID, "" return true, claims.UID, ""
} }

Loading…
Cancel
Save