mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
gdmUtil: Fix auth prompt drawing over user list
If the user fails to enter their password then hits escape, we jump back to the user list, then ask again for a password in a garbled screen. this commit fixes that by guarding against the retry if the fail counter is reset.
This commit is contained in:
parent
e995730a4d
commit
875a1d6159
1 changed files with 2 additions and 1 deletions
|
|
@ -540,7 +540,8 @@ const ShellUserVerifier = new Lang.Class({
|
|||
let signalId = this.connect('no-more-messages',
|
||||
Lang.bind(this, function() {
|
||||
this.disconnect(signalId);
|
||||
this._retry();
|
||||
if (this._failCounter != 0)
|
||||
this._retry();
|
||||
}));
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue