Skip to content

Commit 0945305

Browse files
committed
Upgrade dependencies a bit.
1 parent 666e306 commit 0945305

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

python/example-pytest-selfie/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
from flask import (
1111
Flask,
12+
abort,
1213
jsonify,
1314
make_response,
1415
redirect,
@@ -86,7 +87,7 @@ def auth_user():
8687
return None
8788
email, signature = login_cookie.split("|")
8889
if signature != sign_email(email):
89-
return None
90+
return abort(401)
9091
return {"email": email}
9192

9293

python/example-pytest-selfie/uv.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)