From 5c2c015b6fcb03fabcf50b5f9a4a2fbfc155ffe7 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..7fb12776f2d 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;