diff --git a/js/gdm/util.js b/js/gdm/util.js index ecaf09b6a..72561daab 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -686,6 +686,11 @@ var ShellUserVerifier = class { } _verificationFailed(serviceName, shouldRetry) { + if (serviceName === FINGERPRINT_SERVICE_NAME) { + if (this._fingerprintFailedId) + GLib.source_remove(this._fingerprintFailedId); + } + // For Not Listed / enterprise logins, immediately reset // the dialog // Otherwise, when in login mode we allow ALLOWED_FAILURES attempts.