From 4db8980d83d53bf85b78d75dd935d7c580ea840e Mon Sep 17 00:00:00 2001 From: Henk Kalkwater Date: Mon, 18 May 2020 13:34:29 +0200 Subject: [PATCH] Use the username to login, not the real name --- components/LoginPane.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/LoginPane.qml b/components/LoginPane.qml index e47b2b5..4c38c17 100644 --- a/components/LoginPane.qml +++ b/components/LoginPane.qml @@ -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()