From dd2a228051bf40947f19a82b68fcfdc4c00b2295 Mon Sep 17 00:00:00 2001 From: Raphael Ochsenbein Date: Tue, 11 Mar 2025 23:02:49 +0100 Subject: [PATCH] web: disable autocomplete for 2fa --- web/login/index.html | 2 +- web/login/index.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/login/index.html b/web/login/index.html index 8b77a501..7d7e12c2 100644 --- a/web/login/index.html +++ b/web/login/index.html @@ -75,7 +75,7 @@ 2FA code:  - + diff --git a/web/login/index.pug b/web/login/index.pug index bb27f2a6..a0ce05c1 100644 --- a/web/login/index.pug +++ b/web/login/index.pug @@ -37,7 +37,7 @@ block body td #[input#passwd-input(type="password" autocapitalize="off")] tr td 2FA code:  - td #[input#code-input(type="text" placeholder="if enabled")] + td #[input#code-input(type="text" placeholder="if enabled" autocomplete="off")] tr td(colspan=2) #[hr] tr