From dea26377c860c49e291d187d7ae33a050aa3bf63 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 25 Oct 2026 12:57:08 -1000 Subject: Say when a login fails, and line up the form A wrong password sent the reader back to the same empty form, which looked no different from a crash. The redirect now carries a flag the form reads, the same for an unknown user as for a wrong password, and the form leaves the flag out of the way back it signs. --- README.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.txt') diff --git a/README.txt b/README.txt index ceba98c..db55ec9 100644 --- a/README.txt +++ b/README.txt @@ -101,6 +101,8 @@ script added through the css and js options has stable hooks to work with. A character in a file that a browser would start a new line at, though git does not, such as a carriage return with no line feed after it, is shown as an escape sequence in span.escape. +* The bundled auth filters write their login form as form.login, with + p.login-error above it after a failed login. * Colours, fonts and metrics are custom properties on div#cgit, so a theme can redefine those alone. Every rule in cgit.css starts with div#cgit, apart from the background and margins it sets on html.cgit-standalone, the class of the -- cgit 2.9.2