From a8da38701c5239cf1d119437259bb7b068b224f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Stenr=C3=B6se?= Date: Fri, 2 Jan 2026 13:30:13 +0100 Subject: [PATCH] Add aria-label to token field on admin login page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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]. [1] https://bitwarden.com/help/custom-fields/ [2] https://bitwarden.com/help/auto-fill-custom-fields/ Signed-off-by: Martin Stenröse --- src/static/templates/admin/login.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/templates/admin/login.hbs b/src/static/templates/admin/login.hbs index 3ea94aec..2e80629b 100644 --- a/src/static/templates/admin/login.hbs +++ b/src/static/templates/admin/login.hbs @@ -13,7 +13,7 @@ Please provide it below:
- + {{#if redirect}} {{/if}}