WE'RE WINNING BABY
This commit is contained in:
1 parent
b89bb0709f
commit
6ece8fef6e
1 file changed
+5
-1
@@ -167,7 +167,11 @@ Item {
|
||||
}
|
||||
onAccepted: {
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user