WE'RE WINNING BABY

This commit is contained in:
=
2025-08-02 20:02:47 -05:00
parent b89bb0709f
commit 6ece8fef6e

View File

@@ -167,7 +167,11 @@ Item {
} }
onAccepted: { onAccepted: {
attemptingToLogin = true attemptingToLogin = true
sddm.login(usernameField.text, passwordField.text, session.index) var username = usernameField.text
if !usingCustomUser {
username = userModel.lastUser.name
}
sddm.login(username, passwordField.text, session.index)
} }
} }