Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > c564cd7a27b90086e9e117951ef02284 > files > 1

kio-extras-19.04.0-1.1.mga7.src.rpm

From d813cef3cecdec9af1532a40d677a203ff979145 Mon Sep 17 00:00:00 2001
From: David Faure <faure@kde.org>
Date: Sat, 9 May 2020 11:20:48 +0200
Subject: [PATCH] Only store password in KWallet if the user asked for it

---
 fish/fish.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fish/fish.cpp b/fish/fish.cpp
index a18ef34b..ccd71d36 100644
--- a/fish/fish.cpp
+++ b/fish/fish.cpp
@@ -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;
-- 
GitLab