Skip to content

polkit: re-enable input when PAM prompts again - #241

Open
AuthenticSm1les wants to merge 1 commit into
pop-os:masterfrom
AuthenticSm1les:fix/polkit-reprompt
Open

AuthenticSm1les wants to merge 1 commit into
pop-os:masterfrom
AuthenticSm1les:fix/polkit-reprompt

Conversation

@AuthenticSm1les

Copy link
Copy Markdown

Some PAM modules (pam_systemd_home, pam_u2f) don't fail on a wrong password, they send another prompt in the same conversation. The dialog disables the input on submit and only re-enables it on SUCCESS/FAILURE, so it froze on the second prompt.

Now a Request that arrives after a submit re-enables and clears the input and shows the invalid password text.

Fixes #87

Some PAM modules (pam_systemd_home, pam_u2f) don't fail on a wrong
password, they just send another prompt in the same conversation. The
input stayed disabled after submit, so the dialog froze.

Fixes pop-os#87
@mmstick
mmstick requested review from a team November 6, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authentication dialog stuck after a failed authentication attempt using pam-u2f

2 participants