mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-09-25 09:24:14 +00:00
Remove keychain.isLocked()
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