log
This commit is contained in:
@@ -135,6 +135,7 @@ func GetUserIDFromToken(token string, operationID string) (bool, string, string)
|
||||
log.Error(operationID, "ParseToken failed, ", err.Error(), token)
|
||||
return false, "", err.Error()
|
||||
}
|
||||
log.Debug(operationID, "token claims.ExpiresAt.Second() ", claims.ExpiresAt.Second())
|
||||
return true, claims.UID, ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user