chiark
/
gitweb
/
~mdw
/
chopwood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmd-cgi.py: Don't allow caching of the `list' page.
[chopwood]
/
cmd-cgi.py
diff --git
a/cmd-cgi.py
b/cmd-cgi.py
index 57de66c732f822eefde82046cdacc64cd48143be..6dc59ee44666363fe5a63c15f3897fd5b126c004 100644
(file)
--- a/
cmd-cgi.py
+++ b/
cmd-cgi.py
@@
-58,6
+58,7
@@
def operate(what, op, services, *args, **kw):
@CGI.subcommand('list', ['cgi-query'], 'List available accounts')
def cmd_list_cgi():
CGI.page('list.fhtml',
@CGI.subcommand('list', ['cgi-query'], 'List available accounts')
def cmd_list_cgi():
CGI.page('list.fhtml',
+ header = dict(pragma = 'no-cache', cache_control = 'no-cache'),
title = 'Chopwood: accounts list',
accts = CU.list_accounts(CU.USER),
nonce = HA.NONCE)
title = 'Chopwood: accounts list',
accts = CU.list_accounts(CU.USER),
nonce = HA.NONCE)