Skip to content

Feature Request: Enhance login form for browser password managers #3877

@voskuilen

Description

@voskuilen

Proposed functionality

Currently, the YOURLS login form doesn’t trigger Chrome (and some other browsers) to offer saving login credentials, due to missing autocomplete attributes.

Proposed code snippet: This is a small and non-breaking change that improves compatibility with browser password managers.

Thanks for considering!

Use case

Why this matters:

  • Improves UX by allowing Chrome and other browsers to auto-fill or prompt users to save credentials.
  • Avoids confusion for users who expect password management to “just work”.

Potential solution

Suggested improvements:

  • Add autocomplete="on" to the tag in yourls_login_screen().
  • Add autocomplete="username" to the username field.
  • Add autocomplete="current-password" to the password field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions