@@ -367,6 +367,8 @@ FocusScope {
367 Connections {
367 Connections {
368 target: LightDM.Greeter
368 target: LightDM.Greeter
370+ onShowGreeter: greeter.show()
370 onShowPrompt: {
372 onShowPrompt: {
371 if (LightDM.Users.count == 1) {
373 if (LightDM.Users.count == 1) {
372 // TODO: There's no better way for now to determine if its a PIN or a passphrase.
374 // TODO: There's no better way for now to determine if its a PIN or a passphrase.
@@ -453,6 +455,9 @@ FocusScope {
453 onShownChanged: {
455 onShownChanged: {
454 if (shown) {
456 if (shown) {
455 lockscreen.reset();
457 lockscreen.reset();
458+ if (!LightDM.Greeter.promptless) {
456 // If there is only one user, we start authenticating with that one here.
461 // If there is only one user, we start authenticating with that one here.
457 // If there are more users, the Greeter will handle that
462 // If there are more users, the Greeter will handle that
458 if (LightDM.Users.count == 1) {
463 if (LightDM.Users.count == 1) {