8000 feat(view-note): prevent note password auto-completion from auth password by dhenry123 · Pull Request #389 · CorentinTh/enclosed · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(view-note): prevent note password auto-completion from auth password #389

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 8000 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

Merged

Conversation

dhenry123
Copy link
Contributor

Case reproduction:

  • Configuring the enclosed instance with user authentication
  • Log in to application (login/password) and save info in Firefox
  • When you reach the note creation page, the password is automatically filled in with the password of the logged-in user.

image

This PR proposes adding the autocomplete=“new-password” attribute to inputs of type “password” on the page: packages/app-client/src/modules/notes/pages/view-note.page.tsx and in the component :
packages/app-client/src/modules/notes/components/note-password-field.tsx

These changes fix this autocompletion problem.

Thank you for your work

Copy link
8000

Copy link
github-actions bot commented Jan 27, 2025
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
enclosed ✅ Ready (View Log) Visit Preview 145a6bf
enclosed-docs ✅ Ready (View Log) Visit Preview 145a6bf

Copy link
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
enclosed-docs 🔨 Building (View Log) 145a6bf

@CorentinTh CorentinTh changed the title UI : autocomplete=new-password for note creation and view page feat(view-note): prevent note password auto-completion from auth password Jan 27, 2025
Copy link
Owner
@CorentinTh CorentinTh left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the pr 🙏

@CorentinTh CorentinTh merged commit b57cafc into CorentinTh:main Jan 27, 2025
12 checks passed
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
0