Log out with a POST form.

The logout link put the CSRF token in the URL, which goes into logs and the browser history.
This commit is contained in:
tim
2026-09-26 15:27:51 +02:00
parent 061f9c1a37
commit 71f768bff2
5 changed files with 38 additions and 10 deletions
+17
View File
@@ -146,6 +146,23 @@ footer#bottom p {
margin-right: 5px;
}
/* The logout button looks like the links next to it */
#sidebar .links li form {
display: inline;
}
#sidebar .links li button {
padding: 0;
border: 0;
background: none;
font: inherit;
color: inherit;
cursor: pointer;
}
#sidebar .links li button:hover {
color: #FF0000;
text-decoration: underline;
}
#sidebar .links .sideinput {
padding: 1px;
padding: 0;