mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (repeatedPassword.isEmpty()) {
|
||||||
|
QMessageBox::warning(nullptr, tr("Error"), tr("Please repeat the password"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (password != repeatedPassword) {
|
if (password != repeatedPassword) {
|
||||||
QMessageBox::warning(nullptr, tr("Error"), tr("Passwords don't match"));
|
QMessageBox::warning(nullptr, tr("Error"), tr("Passwords don't match"));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue