Skip to content
Snippets Groups Projects
Commit de911ba2 authored by Simon Künzel's avatar Simon Künzel
Browse files

Fix fsmpi authentication not updating data

parent f9661efa
Branches
Tags
No related merge requests found
Pipeline #7654 canceled
...@@ -242,8 +242,8 @@ def authenticate_fsmpi(username: str, password: str) -> {}: ...@@ -242,8 +242,8 @@ def authenticate_fsmpi(username: str, password: str) -> {}:
user_db.display_name = display_name user_db.display_name = display_name
user_db.email = email user_db.email = email
session.expunge_all()
session.commit() session.commit()
session.expunge_all()
return user_db return user_db
user_db = database.execute_write_transaction(_trans) user_db = database.execute_write_transaction(_trans)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment