chiark
/
gitweb
/
~mdw
/
chopwood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backend.py: Make FlatFileRecord._format include the trailing newline.
[chopwood]
/
httpauth.py
diff --git
a/httpauth.py
b/httpauth.py
index 383bdb1cca18a305b4930a43d8db215effbad13c..7fdc687441d1f28498d0173b23c38cb86efe7f4e 100644
(file)
--- a/
httpauth.py
+++ b/
httpauth.py
@@
-332,6
+332,7
@@
def cmd_login(why = None):
@CGI.subcommand(
'auth', ['cgi-noauth'],
'Verify a user name and password',
@CGI.subcommand(
'auth', ['cgi-noauth'],
'Verify a user name and password',
+ methods = ['POST'],
params = [SC.Arg('u'), SC.Arg('pw')])
def cmd_auth(u, pw):
svc = S.SERVICES['master']
params = [SC.Arg('u'), SC.Arg('pw')])
def cmd_auth(u, pw):
svc = S.SERVICES['master']