Skip to content

Commit

Permalink
Merge branch 'develop' into ua/99-fix-language-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
dvmartinweigl authored Nov 20, 2023
2 parents b9c62de + 5888265 commit db2d054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion visyn_core/security/store/alb_security_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def load_from_request(self, req: Request):
# Go through all the fields we want to check for the user id
id = next((user.get(field, None) for field in self.email_token_fields if user.get(field, None)), None)
if not id:
_log.error(f"No {self.email_token_fields} matched in token, possible fields: {user.keys()}")
_log.error(f"No {self.email_token_fields} matched in token, possible values: {user}")
return None

# Create new user from given attributes
Expand Down
2 changes: 1 addition & 1 deletion visyn_core/security/store/oauth2_security_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def load_from_request(self, req: Request):
# Go through all the fields we want to check for the user id
id = next((user.get(field, None) for field in self.email_token_fields if user.get(field, None)), None)
if not id:
_log.error(f"No {self.email_token_fields} matched in token, possible fields: {user.keys()}")
_log.error(f"No {self.email_token_fields} matched in token, possible values: {user}")
return None

# Create new user from given attributes
Expand Down

0 comments on commit db2d054

Please sign in to comment.