Commit 9af56eb7 authored by Linus Jahn's avatar Linus Jahn 🔌 Committed by Linus Jahn
Browse files

Forget password on log out

Before there was actually no way to delete your password from the config. The
only way to get rid of the saved password was to log into a different account
since only a successful log in will update the config file.
parent 1e791c06
......@@ -135,9 +135,13 @@ void Kaidan::mainDisconnect(bool openLogInPage)
if (client->isConnected())
emit client->disconnectRequested();
// trigger the gui to open the log in page in case the was wanted:
if (openLogInPage)
if (openLogInPage) {
// clear password
// trigger log in page
emit newCredentialsNeeded();
void Kaidan::setJid(QString jid)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment