From 4ea72130e0dbc3c9f2e0708f0f690d531bc2cdbc Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 23 Jul 2015 13:17:54 -0400 Subject: [PATCH] authPrompt: allow cancellation before verification starts The user should be allowed to cancel if verification hasn't started yet and they're typing in their username. This commit changes the authPrompt cancel function to not ignore such requests. https://bugzilla.gnome.org/show_bug.cgi?id=752739 --- 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 6e5c79f20..b57b00bb7 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -501,7 +501,7 @@ const AuthPrompt = new Lang.Class({ }, cancel: function() { - if (this.verificationStatus == AuthPromptStatus.NOT_VERIFYING || this.verificationStatus == AuthPromptStatus.VERIFICATION_SUCCEEDED) { + if (this.verificationStatus == AuthPromptStatus.VERIFICATION_SUCCEEDED) { return; } this.reset();