Skip to content

Commit

Permalink
add missing config check
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Nov 26, 2024
1 parent e6227c6 commit 6af296c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/module/gtkwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ def __event_username_entry_changed(self, w=None):
if not self.greeter_loaded:
self.ignore_password_cache = False
if lightdm.is_valid_user(widget.get_text()):
lightdm.reset()
lightdm.greeter.authenticate(widget.get_text())
if get("authenticate-on-start", True, "gtkwindow"):
lightdm.reset()
lightdm.greeter.authenticate(widget.get_text())
# Update user background
self.update_username_button(widget.get_text())
# Update login button label
Expand Down

0 comments on commit 6af296c

Please sign in to comment.