summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-02-15 23:46:03 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2011-02-15 23:51:24 +0100
commit12ada83027694f799d6ee5caddb00f5ffe1b4d8d (patch)
tree36ea4f69059c4eb6ed603ff510ad3e2f0338ef7c /templates
parent5695704aed741e3443fa5c4d87856cab475128b8 (diff)
Use sha1 instead of md5.
Diffstat (limited to 'templates')
-rw-r--r--templates/help.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/help.tmpl b/templates/help.tmpl
index 48d12bc..95748f5 100644
--- a/templates/help.tmpl
+++ b/templates/help.tmpl
@@ -3,7 +3,7 @@
#extends templates.base
#def content
<p>Usage: POST to <a href="$scheme://$host/u">$scheme://$host/u</a> with filedata given to "file" and original filename to "filename".
- Login is sent by cookies with user id in "uid" and an identifier which is md5(uid+md5(password)).</p>
+ Login is sent by cookies with user id in "uid" and an identifier which is sha1(uid+sha1(password)).</p>
<p>cURL example:
<code>curl -b 'uid=42; identifier=3858f62230ac3c915f300c664312c63f' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u</code>
Here user id is 42 and the password is "foobar".</p>