Skip to content

Commit

Permalink
fix: add session.commit() to create_user
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlukasse committed Oct 18, 2024
1 parent a4e84b3 commit 1b02458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fence/resources/admin/admin_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def create_user(

logger.debug(f"Adding user {username}...")
current_session.add(usr)
current_session.commit()
logger.debug(f"Success adding user {username}. Returning...")
return us.get_user_info(current_session, username)

Expand Down

0 comments on commit 1b02458

Please sign in to comment.