gdm: Remove pending fingerprint verification failure
It can happen that we get a problem report and a verification failure at the same time. For fingerprint, a problem report can result in an internal verification failure to be queued. Remove this queued failure again if we got a failure already from GDM directly. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1821>
This commit is contained in:
parent
588dd6d80a
commit
724291de7f
@ -686,6 +686,11 @@ var ShellUserVerifier = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_verificationFailed(serviceName, shouldRetry) {
|
_verificationFailed(serviceName, shouldRetry) {
|
||||||
|
if (serviceName === FINGERPRINT_SERVICE_NAME) {
|
||||||
|
if (this._fingerprintFailedId)
|
||||||
|
GLib.source_remove(this._fingerprintFailedId);
|
||||||
|
}
|
||||||
|
|
||||||
// For Not Listed / enterprise logins, immediately reset
|
// For Not Listed / enterprise logins, immediately reset
|
||||||
// the dialog
|
// the dialog
|
||||||
// Otherwise, when in login mode we allow ALLOWED_FAILURES attempts.
|
// Otherwise, when in login mode we allow ALLOWED_FAILURES attempts.
|
||||||
|
Loading…
Reference in New Issue
Block a user