Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Dec 11, 2023
1 parent b71eecb commit 518de98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/views/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def oauth_auth(q):
given_state = q.GET["state"]
expected_state = q.session["yasoi_state"]
if expected_state != given_state:
raise TypeError("state mismatch")
raise TypeError("state mismatch")
if "error" in q.GET:
raise RuntimeError(f'{q.GET["error"]}: {q.GET.get("error_description")}')
pkce_params = pkce2(q)
Expand Down

0 comments on commit 518de98

Please sign in to comment.