mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-09-23 16:34:34 +00:00
Merge pull request #4294 from purejava/fix-auto-unlock
Fix auto-unlocking vaults on Cryptomator startup on Linux
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ public interface MasterkeyFileLoadingModule {
|
||||
@Named("savedPassword")
|
||||
@KeyLoadingScoped
|
||||
static Optional<char[]> provideStoredPassword(KeychainManager keychain, @KeyLoading Vault vault) {
|
||||
if (!keychain.isSupported() || keychain.isLocked()) {
|
||||
if (!keychain.isSupported()) {
|
||||
return Optional.empty();
|
||||
} else {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user