VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Dlgcode.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-06-02 09:39:14 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-06-02 09:39:14 +0200
commit5e4e2e0483436031edfd525215110f6229ac406d (patch)
treea8571df28c507c012b0e895e0614e463ed44a7b0 /src/Common/Dlgcode.c
parent40b17cca0a399d7a27bb2cc55c3fd1f3f6220347 (diff)
downloadVeraCrypt-5e4e2e0483436031edfd525215110f6229ac406d.tar.gz
VeraCrypt-5e4e2e0483436031edfd525215110f6229ac406d.zip
Windows: Add dropdown menu to Mount button to allow mounting without cache
Diffstat (limited to 'src/Common/Dlgcode.c')
-rw-r--r--src/Common/Dlgcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index 2c707f5d..d994aaf3 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -8887,7 +8887,7 @@ int MountVolume (HWND hwndDlg,
}
// If using cached passwords, check cache status first
- if (password == NULL && IsPasswordCacheEmpty ())
+ if (password == NULL && (mountOptions->SkipCachedPasswords || IsPasswordCacheEmpty ()))
return 0;
ZeroMemory (&mount, sizeof (mount));