diff options
| author | Santo Cariotti <dcariotti24@gmail.com> | 2020-03-24 15:53:53 +0000 |
|---|---|---|
| committer | Santo Cariotti <dcariotti24@gmail.com> | 2020-03-27 20:08:05 +0000 |
| commit | ee1ef8caba7ad63a8538b47d221bac3c4ad9309a (patch) | |
| tree | a85eaca23404c556e8a3d01a3b26ba8d6e0f6db4 /src/frest/auth | |
| parent | a347c3cb31d1ca39dc89cecd427b700babddf0db (diff) | |
fix: authorization header instead of authentication
Diffstat (limited to 'src/frest/auth')
| -rw-r--r-- | src/frest/auth/routes.py | 2 |
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: |
