Skip to content

Conversation

paw-hub
Copy link
Contributor

@paw-hub paw-hub commented Jul 28, 2025

Closes #8982

@charlag charlag linked an issue Jul 28, 2025 that may be closed by this pull request
8 tasks
Copy link
Contributor

@charlag charlag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure if we need a special attribute but I guess it's convenient

@paw-hub
Copy link
Contributor Author

paw-hub commented Jul 28, 2025

I wasn't sure if we need a special attribute but I guess it's convenient

Perhaps I can instead write a helper function. I just wasn't sure if we wanted to write the same exact if statement for the fifth time in yet another function.

@charlag
Copy link
Contributor

charlag commented Jul 28, 2025

nah let's keep it

paw-hub added 2 commits July 31, 2025 09:37
This removes some duplicate code and adds a convenient way to trigger a
submission from the textbox.
Have the 2FA dialog and editor submit the OTP when the return key is
pressed rather than when a button is clicked.

Closes #8982
@paw-hub paw-hub force-pushed the 8982-otp-return-key branch from 37170fc to deed33d Compare July 31, 2025 07:37
@paw-hub paw-hub merged commit deed33d into dev-mail Jul 31, 2025
6 checks passed
@paw-hub paw-hub deleted the 8982-otp-return-key branch July 31, 2025 07:43
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.

Enter doesn't work at the 2FA code prompt
2 participants