mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
This commit is contained in:
parent
1242a16265
commit
02c99e4b25
1 changed files with 1 additions and 0 deletions
|
|
@ -244,6 +244,7 @@ const AuthPrompt = new Lang.Class({
|
|||
},
|
||||
|
||||
_onVerificationFailed: function() {
|
||||
this._queryingService = null;
|
||||
this.clear();
|
||||
|
||||
this.updateSensitivity(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue