diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 6df25a79b..d0280529a 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -493,7 +493,6 @@ const AuthPrompt = new Lang.Class({ cancel: function() { this.reset(); - this.emit('cancelled'); } }); Signals.addSignalMethods(AuthPrompt.prototype); diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index b04ddf092..001aabc8d 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -53,7 +53,6 @@ const UnlockDialog = new Lang.Class({ this._authPrompt = new AuthPrompt.AuthPrompt(new Gdm.Client(), AuthPrompt.AuthPromptMode.UNLOCK_ONLY); this._authPrompt.connect('failed', Lang.bind(this, this._fail)); - this._authPrompt.connect('cancelled', Lang.bind(this, this._fail)); this._authPrompt.connect('reset', Lang.bind(this, this._onReset)); this._authPrompt.setPasswordChar('\u25cf'); this._authPrompt.nextButton.label = _("Unlock");