Skip to content

Commit

Permalink
Set status as int
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatorelaiso committed Jul 21, 2023
1 parent bd82f0b commit b9c7ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyeudiw/satosa/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def handle_error(
result = json.dumps(
{"message": message, "troubleshoot": troubleshoot}
)
return Response(result, content="text/json; charset=utf8", status="403 Forbidden")
return Response(result, content="text/json; charset=utf8", status=403)

def authn_response(self, context, binding):
"""
Expand Down

0 comments on commit b9c7ecd

Please sign in to comment.