fix: Allow user account deletion without SMTP setup, closes #6107

This commit is contained in:
Tom Moor
2024-01-20 10:12:10 -05:00
parent b482654c66
commit 2f2113adb8
3 changed files with 11 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ function Preferences() {
const showDeleteAccount = () => {
dialogs.openModal({
title: t("Delete account"),
content: <UserDelete />,
content: <UserDelete onSubmit={dialogs.closeAllModals} />,
isCentered: true,
});
};