File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1083,7 +1083,7 @@ def determine_language(self):
1083
1083
1084
1084
def authenticate_bearer_token (self , challenge ):
1085
1085
''' authenticate the bearer token. Refactored from determine_user()
1086
- to alow it to be overridden if needed.
1086
+ to allow it to be overridden if needed.
1087
1087
'''
1088
1088
try : # will jwt import?
1089
1089
import jwt
@@ -1190,7 +1190,7 @@ def determine_user(self):
1190
1190
try :
1191
1191
# make sure to str(token['sub']) the
1192
1192
# subject. As decoded by json, it is unicode
1193
- # which thows an error when used with 'nodeid
1193
+ # which throws an error when used with 'nodeid
1194
1194
# in db' down the call chain.
1195
1195
user = self .db .user .get (str (token ['sub' ]), 'username' )
1196
1196
except IndexError :
You can’t perform that action at this time.
0 commit comments