mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Re-enter the master password for verification
This commit is contained in:
parent
2c140fe29e
commit
e0fdd05153
1 changed files with 5 additions and 0 deletions
|
|
@ -371,6 +371,11 @@ begin
|
|||
if not ShowInputQuery(rsMsgMasterPassword, rsMsgMasterPasswordEnter, True, MasterKey) then
|
||||
Exit;
|
||||
if Length(MasterKey) = 0 then Exit;
|
||||
if Length(FMasterKeyHash) = 0 then
|
||||
repeat
|
||||
if not ShowInputQuery(rsMsgMasterPassword, rsMsgPasswordVerify, True, MasterKeyHash) then
|
||||
Exit;
|
||||
until (MasterKey = MasterKeyHash);
|
||||
UpdateMasterKey(MasterKey, MasterKeyHash);
|
||||
if FMasterKeyHash = EmptyStr then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue