Unix CLI: Don't initially re-ask PIM if it was already specified (#1288)

We don't need to reset PIM in PasswordException as it is immediately
fell back to if PIM is specified in text mode, but password is not.
This causes an exception that resets the PIM when it shouldn't.
This commit is contained in:
Jertzukka 2024-04-10 11:44:01 +03:00 committed by GitHub
parent afc6215074
commit dc8d8ce404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1409,7 +1409,6 @@ namespace VeraCrypt
{ {
ShowInfo (e); ShowInfo (e);
options.Password.reset(); options.Password.reset();
options.Pim = -1;
} }
} }