diff --git a/js/gdm/util.js b/js/gdm/util.js index 79deafd5e..9e2e069ea 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -152,13 +152,10 @@ const ShellUserVerifier = new Lang.Class({ this.reauthenticating = false; this._oVirtCredentialsManager = OVirt.getOVirtCredentialsManager(); - + this._oVirtCredentialsManager.connect('user-authenticated', Lang.bind(this, this._oVirtUserAuthenticated)); if (this._oVirtCredentialsManager.hasToken()) this._oVirtUserAuthenticated(this._oVirtCredentialsManager.getToken()); - this._oVirtCredentialsManager.connect('user-authenticated', - Lang.bind(this, this._oVirtUserAuthenticated)); - this._reset(); },