[PR #6649] [CLOSED] Add aria-label to token field on admin login page #12686

Closed
opened 2026-04-20 15:55:50 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6649
Author: @martinstenrose
Created: 1/2/2026
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • a8da387 Add aria-label to token field on admin login page

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/static/templates/admin/login.hbs (+1 -1)

📄 Description

This makes it possible for Bitwarden to autofill admin token by using a Custom Field [1] named "Admin token". Autofill for custom fields works by matching a form element's id, name, aria-label, or placeholder [2].

Currently, autofill can be configured using a custom field named "Token", which is somewhat generic and may be confused with other credentials such as an API token.

[1] https://bitwarden.com/help/custom-fields/
[2] https://bitwarden.com/help/auto-fill-custom-fields/


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/6649 **Author:** [@martinstenrose](https://github.com/martinstenrose) **Created:** 1/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`a8da387`](https://github.com/dani-garcia/vaultwarden/commit/a8da38701c5239cf1d119437259bb7b068b224f0) Add aria-label to token field on admin login page ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/static/templates/admin/login.hbs` (+1 -1) </details> ### 📄 Description This makes it possible for Bitwarden to autofill admin token by using a Custom Field [1] named "Admin token". Autofill for custom fields works by matching a form element's id, name, aria-label, or placeholder [2]. Currently, autofill can be configured using a custom field named "Token", which is somewhat generic and may be confused with other credentials such as an API token. [1] https://bitwarden.com/help/custom-fields/ [2] https://bitwarden.com/help/auto-fill-custom-fields/ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 15:55:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#12686