Skip to content

Commit

Permalink
fix(mfa): default value for var used later
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13 committed Dec 4, 2023
1 parent 37c1e15 commit effef59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fence/sync/sync_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -1995,6 +1995,7 @@ def _update_authz_in_arborist(
for username, user_project_info in user_projects.items():
self.logger.info("processing user `{}`".format(username))
user = query_for_user(session=session, username=username)
idp = None
if user:
username = user.username
idp = user.identity_provider.name if user.identity_provider else None
Expand Down

0 comments on commit effef59

Please sign in to comment.