Fix typo
This commit is contained in:
parent
06aaae7bf7
commit
e8d8a53efd
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user