Added the capability to reset the password manager
Also some documentation about the password manager.
This commit is contained in:
parent
f8528143ac
commit
4fa2189b27
17 changed files with 233 additions and 85 deletions
|
|
@ -115,3 +115,15 @@ void ConnectionManagerWindow::on_actionManual_triggered()
|
|||
QDesktopServices::openUrl(QString("https://eelke.gitlab.io/pgLab/#pglab-user-manual"));
|
||||
}
|
||||
|
||||
|
||||
void ConnectionManagerWindow::on_actionReset_password_manager_triggered()
|
||||
{
|
||||
auto warning_response = QMessageBox::warning(this, "pgLab", tr(
|
||||
"Warning you are about to reset the password manager master passwords "
|
||||
"all stored passwords will be lost! Are you shure you wish to continue?"),
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
|
||||
if (warning_response == QMessageBox::Yes)
|
||||
m_connectionController->resetPasswordManager();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue