1
0
mirror of https://github.com/usebruno/bruno.git synced 2025-07-11 09:46:03 +02:00

feat: safe mode updates

This commit is contained in:
Anoop M D
2024-08-11 23:14:08 +05:30
parent e4d2e5c1cf
commit 4fcb6f0980
2 changed files with 1174 additions and 1588 deletions
package-lock.json
packages/bruno-electron/src/utils

2760
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -88,6 +88,8 @@ function decryptString(str) {
if (algo === ELECTRONSAFESTORAGE_ALGO) { if (algo === ELECTRONSAFESTORAGE_ALGO) {
if (safeStorage && safeStorage.isEncryptionAvailable()) { if (safeStorage && safeStorage.isEncryptionAvailable()) {
return safeStorageDecrypt(encryptedString); return safeStorageDecrypt(encryptedString);
} else {
return '';
} }
} }