diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index d9ec7eea8..a0a4a21d6 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -242,11 +242,11 @@ var AuthPrompt = new Lang.Class({ this.emit('prompted'); }, - _onVerificationFailed() { + _onVerificationFailed(userVerifier, canRetry) { this._queryingService = null; this.clear(); - this.updateSensitivity(true); + this.updateSensitivity(canRetry); this.setActorInDefaultButtonWell(null); this.verificationStatus = AuthPromptStatus.VERIFICATION_FAILED; }, diff --git a/js/gdm/util.js b/js/gdm/util.js index 261e1e433..0532ca848 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -562,7 +562,7 @@ var ShellUserVerifier = new Lang.Class({ } } - this.emit('verification-failed'); + this.emit('verification-failed', canRetry); }, _onConversationStopped(client, serviceName) {