Skip to content

Commit

Permalink
fix: uid attributed wrongly to user object
Browse files Browse the repository at this point in the history
  • Loading branch information
stolpeo committed Jan 6, 2025
1 parent f60ef11 commit 8c49313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminsec/management/commands/import.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def handle(self, *args, **options):
is_hpcadmin=False,
consented_to_terms=username in users_consented,
phone=user_data.phone_number,
uid=user_data.uid,
username=username,
)
hpcuser = HpcUser(
Expand All @@ -118,6 +117,7 @@ def handle(self, *args, **options):
expiration=make_aware(user_data.expiration),
login_shell=user_data.login_shell,
username=user_data.username,
uid=user_data.uid,
)
hpcuser.save_with_version()

Expand Down

0 comments on commit 8c49313

Please sign in to comment.