Update src/UserSettingsPage.cpp

Co-authored-by: Urszula <u.wnuk@proton.me>
pull/1734/head
Integral 9 months ago committed by GitHub
parent 1ab3a37056
commit 95dc80ddec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      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;

Loading…
Cancel
Save