Skip to content

Commit

Permalink
CQI-80: revert change with password issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Oct 18, 2023
1 parent e1aca58 commit ddc3191
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/services/userServices.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ def create_or_update_interactive_user(user_id, data, audit_user_id, connected):
i_user = InteractiveUser(**data_subset)
if "password" in data:
i_user.set_password(data["password"])
else:
# No password provided for creation, will have to be set later.
i_user.stored_password = "locked"
created = True

i_user.save()
Expand Down

0 comments on commit ddc3191

Please sign in to comment.