From dfc52f333bad895fbc71441b2455b3ff75309c1c Mon Sep 17 00:00:00 2001 From: David Kocher Date: Thu, 23 Nov 2023 14:37:39 +0100 Subject: [PATCH] Review. --- .../ch/cyberduck/core/CredentialManagerPasswordStore.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs b/core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs index 8027c258b63..9d334c5a3a1 100644 --- a/core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs +++ b/core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs @@ -66,11 +66,9 @@ public override void delete(Host bookmark) var target = ToUri(bookmark); foreach (Uri descriptor in target) { - if (!WinCredentialManager.RemoveCredentials(descriptor.AbsoluteUri)) - { - base.delete(bookmark); - } + WinCredentialManager.RemoveCredentials(descriptor.AbsoluteUri); } + base.delete(bookmark); } public override void deletePassword(string serviceName, string user) @@ -145,7 +143,6 @@ public override OAuthTokens findOAuthTokens(Host bookmark) } // Continue } - return base.findOAuthTokens(bookmark); } return OAuthTokens.EMPTY;