Skip to content

Commit

Permalink
Fixed: password length not updated from the policy
Browse files Browse the repository at this point in the history
In password generator, when password policy is selected, password length
did not get updated, resulting effective settings different from the
ones of the selected policy
  • Loading branch information
Alexey Biryukov authored and ronys committed Oct 20, 2023
1 parent ee9d6ed commit 20b93d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/wxWidgets/PasswordPolicyDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ void PasswordPolicyDlg::OnPolicynameSelection( wxCommandEvent& WXUNUSED(event) )
m_pwUseEasyVision = (policy.flags & PWPolicy::UseEasyVision) == PWPolicy::UseEasyVision;
m_pwMakePronounceable = (policy.flags & PWPolicy::MakePronounceable) == PWPolicy::MakePronounceable;
m_Symbols = policy.symbols.c_str();
m_pwdefaultlength = policy.length;

TransferDataToWindow();
}
Expand Down

0 comments on commit 20b93d3

Please sign in to comment.