Commit d813cef3 authored by David Faure's avatar David Faure

Only store password in KWallet if the user asked for it

parent a042130e
......@@ -595,7 +595,9 @@ int fishProtocol::establishConnection(const QByteArray &buffer) {
infoMessage(i18n("Initiating protocol..."));
if (!connectionAuth.password.isEmpty()) {
connectionAuth.password = connectionAuth.password.left(connectionAuth.password.length()-1);
cacheAuthentication(connectionAuth);
if (connectionAuth.keepPassword) {
cacheAuthentication(connectionAuth);
}
}
isLoggedIn = true;
return 0;
......
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