Skip to content

Commit e7a08fd

Browse files
committed
fix: reverting change API format to old format
1 parent cf2f1a7 commit e7a08fd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

shared.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22396,6 +22396,12 @@ func HandleOpenId(resp http.ResponseWriter, request *http.Request) {
2239622396
log.Printf("[ERROR] Bad username, but allowing due to OpenID: %s. Full Subject: %#v", userName, openidUser)
2239722397
}
2239822398

22399+
if strings.Contains(userName, "@shuffler.io") {
22400+
resp.WriteHeader(401)
22401+
resp.Write([]byte(`{"success": false, "reason": "Disabled for support users"}`))
22402+
return
22403+
}
22404+
2239922405
redirectUrl := "https://shuffler.io/workflows"
2240022406

2240122407
if project.Environment != "cloud" {

0 commit comments

Comments
 (0)