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):
10831083
10841084 def authenticate_bearer_token (self , challenge ):
10851085 ''' 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.
10871087 '''
10881088 try : # will jwt import?
10891089 import jwt
@@ -1190,7 +1190,7 @@ def determine_user(self):
11901190 try :
11911191 # make sure to str(token['sub']) the
11921192 # 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
11941194 # in db' down the call chain.
11951195 user = self .db .user .get (str (token ['sub' ]), 'username' )
11961196 except IndexError :
You can’t perform that action at this time.
0 commit comments