Skip to content

Commit a1f3d76

Browse files
Potential fix for pull request finding 'CodeQL / Information exposure through an exception'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 341a2d8 commit a1f3d76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/app_oidc_mfa_sample_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def login():
8282
# default.
8383
)
8484
except AuthException as e:
85-
return f"Failed to start MFA: {e}", 500
85+
return "Failed to start MFA", 500
8686

8787
# Stash what exchange_token will need - this is a redirect, so it can't carry state itself
8888
session["code_verifier"] = resp["code_verifier"]

0 commit comments

Comments
 (0)