Skip to content

Commit 51faca3

Browse files
committed
Fix typo with config errors (refs #68)
1 parent 2d866a1 commit 51faca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_jwt_extended/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def token_location(self):
4545
locations = [locations]
4646
for location in locations:
4747
if location not in ('headers', 'cookies'):
48-
raise RuntimeError('JWT_LOCATION_LOCATION can only contain '
48+
raise RuntimeError('JWT_TOKEN_LOCATION can only contain '
4949
'"headers" and/or "cookies"')
5050
return locations
5151

0 commit comments

Comments
 (0)