diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index d712ddce4..88d11d7ea 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -433,7 +433,7 @@ const AuthPrompt = new Lang.Class({ this.verificationStatus = AuthPromptStatus.NOT_VERIFYING; this.cancelButton.reactive = true; - if (oldStatus == AuthPromptStatus.VERIFYING) + if (this._userVerifier) this._userVerifier.cancel(); this._queryingService = null;