gdm: Actually wait for pending messages being notified on failures
We had code to ensure that all the queued messages sent by a PAM module were shown by waiting some time to give the user time to read them, but due to a typo this code never executed. Fixes commit dd97a2589b8b686f273550f3e9e6ce370b25c10d Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3466>
This commit is contained in:
parent
8bbe7514c9
commit
c67ea8e771
@ -862,7 +862,7 @@ export class ShellUserVerifier extends Signals.EventEmitter {
|
||||
}
|
||||
|
||||
_handlePendingMessages() {
|
||||
if (!this.hasPendingMessage)
|
||||
if (!this.hasPendingMessages)
|
||||
return Promise.resolve();
|
||||
|
||||
const cancellable = this._cancellable;
|
||||
|
Loading…
x
Reference in New Issue
Block a user