WE'RE WINNING BABY
This commit is contained in:
6
Main.qml
6
Main.qml
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user