loginDialog: Fix timing issue

Fix the first task of the timed login batch not returning the hold on
`_waitForItemForUser`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2116>
This commit is contained in:
Naïm Favier 2022-01-18 23:46:57 +01:00 committed by Marge Bot
parent 6a10f2f2f1
commit 3de418ea3b

View File

@ -1059,9 +1059,10 @@ var LoginDialog = GObject.registerClass({
let tasks = [
() => {
if (this._disableUserList)
return;
return null;
this._timedLoginUserListHold = this._waitForItemForUser(userName);
return this._timedLoginUserListHold;
},
() => {