From d75b50b262f590ea514eca5250a901a45c0f16e1 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 6 Sep 2026 21:16:44 -1000 Subject: Give the login inputs explicit field types --- assets/cgit.css | 3 ++- custom/extensions/auth-file.lua | 2 +- custom/extensions/auth-inline.lua | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/cgit.css b/assets/cgit.css index 3d754a5..6f4fba3 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -148,7 +148,8 @@ div#cgit input { } div#cgit input[type="search"], -div#cgit input[type="text"] { +div#cgit input[type="text"], +div#cgit input[type="password"] { background-color: var(--bg); } diff --git a/custom/extensions/auth-file.lua b/custom/extensions/auth-file.lua index 957bd49..cd0f338 100644 --- a/custom/extensions/auth-file.lua +++ b/custom/extensions/auth-file.lua @@ -499,7 +499,7 @@ function body() html("'>") html("") html("") html("
") - html("
") html("") html("") html("") html("
") - html("
") html("