diff --git a/js/gdm/util.js b/js/gdm/util.js index 1666fd842..a91badf4f 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -677,10 +677,10 @@ var ShellUserVerifier = class { // if the password service fails, then cancel everything. // But if, e.g., fingerprint fails, still give // password authentication a chance to succeed - if (this.serviceIsForeground(serviceName)) { + if (this.serviceIsForeground(serviceName)) this._failCounter++; - this._verificationFailed(serviceName, true); - } + + this._verificationFailed(serviceName, true); } }; Signals.addSignalMethods(ShellUserVerifier.prototype);