@@ -348,6 +348,8 @@ FocusScope {
348 Connections {
348 Connections {
349 target: LightDM.Greeter
349 target: LightDM.Greeter
351+ onShowGreeter: greeter.show()
351 onShowPrompt: {
353 onShowPrompt: {
352 if (LightDM.Users.count == 1) {
354 if (LightDM.Users.count == 1) {
353 // TODO: There's no better way for now to determine if its a PIN or a passphrase.
355 // TODO: There's no better way for now to determine if its a PIN or a passphrase.
@@ -418,6 +420,9 @@ FocusScope {
418 onShownChanged: {
420 onShownChanged: {
419 if (shown) {
421 if (shown) {
420 lockscreen.reset();
422 lockscreen.reset();
423+ if (!LightDM.Greeter.promptless) {
421 // If there is only one user, we start authenticating with that one here.
426 // If there is only one user, we start authenticating with that one here.
422 // If there are more users, the Greeter will handle that
427 // If there are more users, the Greeter will handle that
423 if (LightDM.Users.count == 1) {
428 if (LightDM.Users.count == 1) {