Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Broken on LightDM, the unlock time text adds newlines instead of updating itself #50

Closed
RoyalOughtness opened this issue Jan 23, 2024 · 3 comments
Assignees
Labels
bug Something isn't working medium priority

Comments

@RoyalOughtness
Copy link
Contributor

Steps to reproduce:

Use authramp with LightDM / Cinnamon
enter incorrect passwords until lockout

Expected behavior:

on lockout, a timer should be displayed

Actual behavior:

on lockout, the timer text is displayed, but isn't updated. instead, updates are sent as newlines like so:

Account locked! Unlocking in 30 seconds.
Account locked! Unlocking in 29 seconds.
Account locked! Unlocking in 28 seconds.

And then trails off the bottom of the UX.

Please confirm that you can repro.

@34N0
Copy link
Owner

34N0 commented Jan 23, 2024

PAM modules provide a pointer to a data buffer containing strings as the PAM "conversation". This might be an upstream issue where instead of updating the text with the newest data in the buffer the whole buffer is displayed.

@34N0
Copy link
Owner

34N0 commented Jan 23, 2024

I didn't try to repro yet.

@34N0 34N0 added bug Something isn't working high priority labels Jan 23, 2024
@34N0 34N0 self-assigned this Jan 23, 2024
34N0 added a commit that referenced this issue Jan 29, 2024
not looping in bounce decreases usability but fixes

#48 #50
@34N0
Copy link
Owner

34N0 commented Jan 30, 2024

This was fixed in #55 . Tested on v0.9.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working medium priority
Projects
None yet
Development

No branches or pull requests

2 participants