From 1b02458988d2635ee32167e7f9e46334d30645ca Mon Sep 17 00:00:00 2001 From: pieterlukasse Date: Tue, 15 Oct 2024 19:29:45 +0200 Subject: [PATCH] fix: add session.commit() to create_user --- fence/resources/admin/admin_users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fence/resources/admin/admin_users.py b/fence/resources/admin/admin_users.py index 426ba6ec6b..298b2e2aa2 100644 --- a/fence/resources/admin/admin_users.py +++ b/fence/resources/admin/admin_users.py @@ -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)