|
|
@ -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, ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|