Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
George Patrut committed Feb 27, 2024
1 parent e0d16d3 commit a57c8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orderly/Views/Dialogs/PasswordGeneratorDialog.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private void UpdatePassword(object sender, RoutedEventArgs e)
if (cbUpper is null || cbSymbols is null || cbNumbers is null || slLength is null || pbPassword is null || tbStrength is null) return;
bool upperCase = cbUpper.IsChecked!.Value;
bool symbols = cbSymbols.IsChecked!.Value;
bool numbers = cbNumbers.IsChecked!.Value;
bool numbers = cbNumbers.IsChecked!.Value;
int length = (int)slLength.Value;

GeneratedPassword = PasswordGenerator.GenerateSecurePassword(length, upperCase, numbers, symbols);
Expand Down

0 comments on commit a57c8a9

Please sign in to comment.