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

LoginForm: enable autocomplete on 2FA code field #7019

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

rcombs
Copy link
Contributor

@rcombs rcombs commented Dec 8, 2024

This should (fingers crossed) work in Safari, at least.

This should (fingers crossed) work in Safari, at least.
@gaearon
Copy link
Collaborator

gaearon commented Dec 10, 2024

How do we test this? Does Safari actually autofill them from email?

@rcombs
Copy link
Contributor Author

rcombs commented Dec 10, 2024

Generally Safari will autofill codes received in Mail.app. I haven't been able to get it to happen on bsky.app/bsky.social by modifying the page in the web inspector, but I'm not sure if that's because I'm modifying the element post-creation or if it doesn't like the formatting of the email somehow. In any case, having autocomplete enabled is necessary (even if it's not sufficient on its own) to get this working.

Copy link
Collaborator

@gaearon gaearon left a comment

Choose a reason for hiding this comment

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

doesn't hurt to try

@gaearon gaearon merged commit 6308e91 into bluesky-social:main Dec 10, 2024
Signez pushed a commit to Signez/bsky-social-app that referenced this pull request Dec 26, 2024
This should (fingers crossed) work in Safari, at least.
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.

2 participants