gdm/util: Catch errors on re-authentication

This commit is contained in:
Marco Trevisan (Treviño) 2024-02-27 23:34:13 +01:00 committed by Ray Strode
parent ce3119d8d7
commit 03b497da53

View file

@ -230,7 +230,7 @@ export class ShellUserVerifier extends Signals.EventEmitter {
// If possible, reauthenticate an already running session, // If possible, reauthenticate an already running session,
// so any session specific credentials get updated appropriately // so any session specific credentials get updated appropriately
if (userName) if (userName)
this._openReauthenticationChannel(userName); this._openReauthenticationChannel(userName).catch(logError);
else else
this._getUserVerifier(); this._getUserVerifier();
} }