Kaynağa Gözat

fixing bug where stored password is not used

Armin Schrenk 4 yıl önce
ebeveyn
işleme
959dee153e

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockModule.java

@@ -50,7 +50,7 @@ abstract class UnlockModule {
 	@Named("savedPassword")
 	@UnlockScoped
 	static Optional<char[]> provideStoredPassword(KeychainManager keychain, @UnlockWindow Vault vault) {
-		if (keychain.isSupported()) {
+		if (!keychain.isSupported()) {
 			return Optional.empty();
 		} else {
 			try {