Skip to content

Commit 78bc0a1

Browse files
committed
#RI-6146 - POC migrate BE from keytar to electron.safeStorage
1 parent e1a91c0 commit 78bc0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/encryption/strategies/keytar-encryption.strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class KeytarEncryptionStrategy implements IEncryptionStrategy {
108108
}
109109

110110
try {
111-
await this.keytar.getPassword(SERVICE, ACCOUNT);
111+
await this.keytar.getPassword(ENCRYPTION_CONFIG.keytarService, ACCOUNT);
112112
return true;
113113
} catch (e) {
114114
return false;

0 commit comments

Comments
 (0)