From 02c99e4b25d0a2b19a304d2a5e893f867274c54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 18 Sep 2013 20:23:53 +0200 Subject: [PATCH] authPrompt: Clear _queryingService on verification failure A conversation is finished after failing, and we are expecting a new one to be started shortly after. However if we encounter an existing reference to a previously set _queryingService, we will clear the password entry, which might already contain a partially typed password at that point. The behavior does make sense in the case of conflicting conversations, but in the failure case it is both unexpected and annoying, so clear _queryingService early to prevent this. https://bugzilla.gnome.org/show_bug.cgi?id=708186 --- js/gdm/authPrompt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 90fefcfc3..fe2cf2d38 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -244,6 +244,7 @@ const AuthPrompt = new Lang.Class({ }, _onVerificationFailed: function() { + this._queryingService = null; this.clear(); this.updateSensitivity(true);