Fix typo
This commit is contained in:
parent
58ebbf601b
commit
7f7f40712d
@ -19,7 +19,7 @@ def before_request():
|
|||||||
"""
|
"""
|
||||||
If the correct token query parameter is passed along with any request,
|
If the correct token query parameter is passed along with any request,
|
||||||
we mark this session authenticated by setting `session["authenticated"]`.
|
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 "token" in request.args:
|
||||||
if request.args["token"] == ACCESS_TOKEN:
|
if request.args["token"] == ACCESS_TOKEN:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user