Mercurial > p > roundup > code
changeset 7474:1cf1ffa65522
Fix mispellings in comments.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 08 Jun 2023 20:38:29 -0400 |
| parents | f8b5b0310f88 |
| children | 3ff266644794 |
| files | roundup/cgi/client.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/cgi/client.py Thu Jun 08 09:27:17 2023 -0400 +++ b/roundup/cgi/client.py Thu Jun 08 20:38:29 2023 -0400 @@ -1083,7 +1083,7 @@ def authenticate_bearer_token(self, challenge): ''' authenticate the bearer token. Refactored from determine_user() - to alow it to be overridden if needed. + to allow it to be overridden if needed. ''' try: # will jwt import? import jwt @@ -1190,7 +1190,7 @@ try: # make sure to str(token['sub']) the # subject. As decoded by json, it is unicode - # which thows an error when used with 'nodeid + # which throws an error when used with 'nodeid # in db' down the call chain. user = self.db.user.get(str(token['sub']), 'username') except IndexError:
