From 3c8c5a5570592b2a45c7e02823e1812680a16d87 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 15 Jul 2015 15:52:29 -0400 Subject: [PATCH] gdm: unconditionally cancel auth user verifier on reset We currently only cancel the user verifier on reset if verifying, but that means we don't properly cancel it when asking for a username at the Not Listed screen. The object already handles getting called when there is nothing to cancel, so just cancel it unconditionally. https://bugzilla.gnome.org/show_bug.cgi?id=752438 --- js/gdm/authPrompt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index d712ddce4..88d11d7ea 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -433,7 +433,7 @@ const AuthPrompt = new Lang.Class({ this.verificationStatus = AuthPromptStatus.NOT_VERIFYING; this.cancelButton.reactive = true; - if (oldStatus == AuthPromptStatus.VERIFYING) + if (this._userVerifier) this._userVerifier.cancel(); this._queryingService = null;