diff options
Diffstat (limited to 'templates/help.tmpl')
-rw-r--r-- | templates/help.tmpl | 2 |
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> |