gnome-shell/js/gdm
Shivam Mishra 6660342d2f authPrompt: Fix hang if user types password really fast
It's possible for a user to type their password so quickly
that GDM hasn't even had time to ask for the password yet,
much less have time to process the answer.
In that situation, we tuck the user response away as
_preemptiveAnswer, and pass it along to GDM when GDM is finally
ready for it.
The problem is, there's a bug in the code, where we send
null for the service name in the answer, instead of the right
service name (say "gdm-password").
This commit addresses the bug by making sure we don't pass the
answer along, until the service name is properly set in
_queryingService. To ensure that, answering query (answerQuery)
based on _preemptiveAnswer has been shifted right below
this._queryingService = serviceName;

https://bugzilla.gnome.org/show_bug.cgi?id=737586
2015-04-07 16:02:21 -04:00
..
authPrompt.js authPrompt: Fix hang if user types password really fast 2015-04-07 16:02:21 -04:00
batch.js Changed obsolete FSF postal address. 2014-01-08 04:35:14 +07:00
fingerprint.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
loginDialog.js gdm: use integer coordinates for login dialog actors 2015-03-27 17:25:06 -04:00
oVirt.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
realmd.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
util.js Revert "Revert "Give user 48ms to read each character of a PAM message, earlier it was 16ms"" 2015-03-27 14:36:05 +01:00