chiark
/
gitweb
/
~mdw
/
chopwood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
httpauth.py, cmd-cgi.py, list.fhtml: Implement explicit logout action.
[chopwood]
/
list.fhtml
diff --git
a/list.fhtml
b/list.fhtml
index 735f63c426749728165ab9f69d9a7ed1a4f554e0..0fb5fafb6a1a1600011489d22b19e3727df56d17 100644
(file)
--- a/
list.fhtml
+++ b/
list.fhtml
@@
-128,4
+128,12
@@
<input type=hidden name=%nonce value="~={nonce}H">
</form>
<input type=hidden name=%nonce value="~={nonce}H">
</form>
+<h2>Log out of Chopwood</h2>
+
+<form method=GET action="~={script}H/logout">
+<button type=submit>Log out</button>
+<input type=hidden name=%user value="~={user}H">
+<input type=hidden name=%nonce value="~={nonce}H">
+</form>
+
~1[<!------- That's all, folks ------------------------------------------>~]~
~1[<!------- That's all, folks ------------------------------------------>~]~