diff options
-rw-r--r-- | src/UserSettingsPage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp index 0ba2386c..4dfdc96a 100644 --- a/src/UserSettingsPage.cpp +++ b/src/UserSettingsPage.cpp @@ -2141,6 +2141,11 @@ UserSettingsModel::exportSessionKeys() return; } + if (repeatedPassword.isEmpty()) { + QMessageBox::warning(nullptr, tr("Error"), tr("Please repeat the password")); + return; + } + if (password != repeatedPassword) { QMessageBox::warning(nullptr, tr("Error"), tr("Passwords don't match")); return; |