We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95c5dbe + d72d47c commit 3aff81eCopy full SHA for 3aff81e
1 file changed
src/authentication/keychain.ts
@@ -52,7 +52,7 @@ export function init(ctx: GlobalStateContext, keychain: Keytar = systemKeychain)
52
53
export async function getToken(host: string, { storage = defaultStorage, keychain = defaultKeychain } = {}): Promise<string | null | undefined> {
54
host = toCanonical(host);
55
- const token = keychain!.getPassword(SERVICE_ID, toCanonical(host))
+ const token = keychain!.getPassword(SERVICE_ID, host)
56
.catch(() => storage!.get(keyFor(host)));
57
58
// While we're transitioning everything out of configuration and into local storage, it's possible
0 commit comments