gnome-shell/js/gdm
Alessandro Bono d42f4b768e gdm/util: Cleanup CredentialManager on successful verification
CredentialManagers emit a user-authenticated signal with a token
upon a successful authentication. This marks the service as preempting
and will be used for the next login/unlock request. However, the
preempting service is not cleaned after a successful verification.
As a consequence, it will be picked on a second unlock request.

This doesn't happen after a succesful login request because there
is a transition from the gnome-shell process owened by GDM to the
one owned by the user.

Clean the preempting service on a successful verification, like we
do when the PAM conversation stops.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3291>
(cherry picked from commit 258ad57b87)
2024-06-28 11:35:16 +00:00
..
authList.js js: Rely on default scroll policy where appropriate 2023-11-18 18:00:43 +00:00
authPrompt.js authPrompt: Consume cancel key event 2024-05-22 16:32:41 +02:00
batch.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
credentialManager.js js: Port to modules 2023-08-06 13:02:49 +02:00
loginDialog.js loginDialog: Improve conflicting session notification message 2024-03-16 16:33:50 +00:00
oVirt.js js: Port to modules 2023-08-06 13:02:49 +02:00
realmd.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
util.js gdm/util: Cleanup CredentialManager on successful verification 2024-06-28 11:35:16 +00:00
vmware.js js: Port to modules 2023-08-06 13:02:49 +02:00