1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Windows portable: Fix keychain-backed storage incorrectly enabled (#10942)

This commit is contained in:
Henry Heino
2024-09-02 04:26:43 -07:00
committed by GitHub
parent 6163364b26
commit fd06c18cf0
5 changed files with 119 additions and 24 deletions

View File

@ -5,7 +5,7 @@ export default class KeychainServiceDriver extends KeychainServiceDriverBase {
public override readonly driverId: string = 'node-keytar';
public async supported(): Promise<boolean> {
return !!shim.keytar();
return !!shim.keytar?.();
}
public async setPassword(name: string, password: string): Promise<boolean> {