X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;ds=sidebyside;f=www%2Fdoc%2Findex.html;h=6bc071e250aa31d0029239370e6f55a127bab152;hb=f5eba55960cba26d820f88144776f7177db92c0b;hp=d910f7dc4f00f80460a80022503cfd3571a2e277;hpb=7a618c2e7e80b87b6462efd9b953e3297029c39e;p=blerg.git diff --git a/www/doc/index.html b/www/doc/index.html index d910f7d..6bc071e 100644 --- a/www/doc/index.html +++ b/www/doc/index.html @@ -40,6 +40,7 @@ C.
The value of "subscribed" will be either true or false depending on the subscription status. +
POST to /passwd with a username
parameter and an auth
+cookie, plus password
and new_password
+parameters to change the user's password. For extra protection,
+changing a password requires sending the user's current password in the
+password
parameter. If authentication is successful and
+the password matches, the user's password is set to
+new_password
and the server responds with JSON success.
+
+If the password doesn't match, or one of password
or
+new_password
are missing, the server returns JSON failure.
+