1
0
Fork 0
mirror of https://github.com/HenkKalkwater/sddm-nx synced 2024-12-22 07:55:16 +00:00

Use the username to login, not the real name

This commit is contained in:
Chris Josten 2020-05-18 13:34:29 +02:00
parent c928a3556f
commit 4db8980d83

View file

@ -16,6 +16,7 @@ Item {
property int sessionIndex
property bool _open: false
property string _user
property string _realUser
// Gives a blur effect to the background
Item {
@ -77,7 +78,8 @@ Item {
text: model.realName
icon.source: model.icon
onClicked: {
_user = model.realName
_user = model.name
_realUser = model.realName
showPasswordOverlay()
}
}
@ -198,7 +200,7 @@ Item {
opacity: enabled ? 1 : 0
Behavior on opacity { NumberAnimation {} }
username: _user
username: _realUser
onPasswordEntered: {
hidePasswordOverlay()