Skip to content

Commit

Permalink
update: password_strength_checker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharma-IT committed Nov 20, 2024
1 parent 74b887f commit 6bde5ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions password_strength_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,9 @@ def generate_password(self):
password = self.password_strength.generate_random_password()
self.password_entry.delete(0, tk.END)
self.password_entry.insert(0, password)

# Insert the generated password into the text box
self.password_display.delete(1.0, tk.END)
self.password_display.insert(tk.END, password)

copy_to_clipboard = messagebox.askyesno("Generated Password",
f"Generated password: {password}\n\nDo you want to copy the password to clipboard?")
if copy_to_clipboard:
Expand Down

0 comments on commit 6bde5ab

Please sign in to comment.