summaryrefslogtreecommitdiffstats
path: root/src/frest/auth
diff options
context:
space:
mode:
Diffstat (limited to 'src/frest/auth')
-rw-r--r--src/frest/auth/routes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frest/auth/routes.py b/src/frest/auth/routes.py
index c4dcfc9..66bd8f5 100644
--- a/src/frest/auth/routes.py
+++ b/src/frest/auth/routes.py
@@ -17,7 +17,7 @@ def login():
data = request.json
- auth = request.headers.get("Authentication")
+ auth = request.headers.get("Authorization")
if auth:
t = Token.query.filter_by(string=auth).first()
if not t: