This commit is contained in:
Paul Brinkmeier 2023-08-20 12:03:07 +02:00
parent 06aaae7bf7
commit e8d8a53efd

View File

@ -19,7 +19,7 @@ def before_request():
"""
If the correct token query parameter is passed along with any request,
we mark this session authenticated by setting `session["authenticated"]`.
Unless the session is authenticated, all requests results in a 403 FORBIDDEN.
Unless the session is authenticated, all requests result in a 403 FORBIDDEN.
"""
if "token" in request.args:
if request.args["token"] == ACCESS_TOKEN: