Minor orborus fix

This commit is contained in:
Frikky
2023-10-22 22:03:46 +02:00
parent d163d1fbf2
commit 9a366e30ec
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -561,7 +561,7 @@ func handleGetStreamResults(resp http.ResponseWriter, request *http.Request) {
}
if len(workflowExecution.ExecutionOrg) > 0 && user.ActiveOrg.Id == workflowExecution.ExecutionOrg && user.Role == "admin" {
log.Printf("[DEBUG] User %s is in correct org. Allowing org continuation for execution!", user.Username)
//log.Printf("[DEBUG] User %s is in correct org. Allowing org continuation for execution!", user.Username)
} else {
log.Printf("[WARNING] Bad authorization key when getting stream results %s.", actionResult.ExecutionId)
resp.WriteHeader(401)