Skip to content

Commit 420472f

Browse files
fix: remove 'or True' bypass in AuthorizationMiddleware
Signed-off-by: FailSafe Researcher <joshua@getfailsafe.com>
1 parent 7013484 commit 420472f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

llmstack/apps/authorization_middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __call__(self, request):
2323
raw_body = request.body
2424

2525
if (
26-
(discord_signature and discord_timestamp) or (slack_signature and slack_timestamp) or True
26+
(discord_signature and discord_timestamp) or (slack_signature and slack_timestamp)
2727
) and re.match(r"^/api/apps/.*/run", path):
2828
app_id = path.split("/")[3]
2929
platform = path.split("/")[4]

0 commit comments

Comments
 (0)