mirror of
https://github.com/HenkKalkwater/sddm-nx
synced 2024-12-22 15:55:18 +00:00
Use the username to login, not the real name
This commit is contained in:
parent
c928a3556f
commit
4db8980d83
|
@ -16,6 +16,7 @@ Item {
|
||||||
property int sessionIndex
|
property int sessionIndex
|
||||||
property bool _open: false
|
property bool _open: false
|
||||||
property string _user
|
property string _user
|
||||||
|
property string _realUser
|
||||||
|
|
||||||
// Gives a blur effect to the background
|
// Gives a blur effect to the background
|
||||||
Item {
|
Item {
|
||||||
|
@ -77,7 +78,8 @@ Item {
|
||||||
text: model.realName
|
text: model.realName
|
||||||
icon.source: model.icon
|
icon.source: model.icon
|
||||||
onClicked: {
|
onClicked: {
|
||||||
_user = model.realName
|
_user = model.name
|
||||||
|
_realUser = model.realName
|
||||||
showPasswordOverlay()
|
showPasswordOverlay()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -198,7 +200,7 @@ Item {
|
||||||
opacity: enabled ? 1 : 0
|
opacity: enabled ? 1 : 0
|
||||||
Behavior on opacity { NumberAnimation {} }
|
Behavior on opacity { NumberAnimation {} }
|
||||||
|
|
||||||
username: _user
|
username: _realUser
|
||||||
|
|
||||||
onPasswordEntered: {
|
onPasswordEntered: {
|
||||||
hidePasswordOverlay()
|
hidePasswordOverlay()
|
||||||
|
|
Loading…
Reference in a new issue