Fix AccountInfoBox setting wrong password #2

Merged
Typhus merged 1 commits from bugfix/fix-account-info-setting-wrong-password into main 2026-05-28 00:23:44 +00:00
Showing only changes of commit 80f331f86b - Show all commits
+4
View File
@@ -49,7 +49,11 @@ class AccountInfoBox(Component):
self.password_change_in_progress = False
return
if self.fixed_user is not None:
user = self.fixed_user
else:
user = await self.session[UserService].get_user(self.session[UserSession].user_name)
if not user:
self.account_info_is_error = True
self.account_info_text = "Unbekannter Fehler"