mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Update src/UserSettingsPage.cpp
Co-authored-by: Urszula <u.wnuk@proton.me>
This commit is contained in:
parent
1ab3a37056
commit
95dc80ddec
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue