diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 9a85e8d33..9de707bf7 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -649,11 +649,6 @@ const LoginDialog = new Lang.Class({ this._userVerifier.connect('ask-question', Lang.bind(this, this._askQuestion)); this._userVerifier.connect('show-message', Lang.bind(this, this._showMessage)); this._userVerifier.connect('reset', Lang.bind(this, this._onReset)); - this._userVerifier.connect('not-supported', Lang.bind(this, function(verifier, error) { - Main.notifyError(_("Configuration problem: Could not connect to GDM"), error.message); - this._onReset(); - })); - this._userVerifier.connect('show-login-hint', Lang.bind(this, this._showLoginHint)); this._userVerifier.connect('hide-login-hint', Lang.bind(this, this._hideLoginHint)); diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 8701a430d..127a924c7 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -133,12 +133,6 @@ const UnlockDialog = new Lang.Class({ this._userVerifier.connect('show-login-hint', Lang.bind(this, this._showLoginHint)); this._userVerifier.connect('hide-login-hint', Lang.bind(this, this._hideLoginHint)); - this._userVerifier.connect('not-supported', Lang.bind(this, function(verifier, error) { - Main.notifyError(_("Could not connect to GDM. Screen locking was automatically disabled."), error.message); - this._userVerifier.clear(); - this.emit('unlocked'); - })); - this._userWidget = new UserWidget(this._user); this.contentLayout.add_actor(this._userWidget.actor);