aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.lisp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.lisp b/src/main.lisp
index b6e0e3c..b143d60 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -376,7 +376,7 @@ started, this will allow remote live debugging of the system.
(lzb:provision-app ()
:title "Oneliners Wiki API"
- :version "0.0.1"
+ :version "0.2.0"
:prefix "/api"
:desc +oneliners-description+
:content-type "application/json"
@@ -631,7 +631,9 @@ contributor for making edits or adding new oneliners."
(current a-string)
(token an-api-token))
(:auth t)
- "Change a contributor's password."
+ "Change a contributor's password. CURRENT is the current
+password. VALUE is the new password. REPEATED must match VALUE. TOKEN
+is an API Access token."
(unless (or (eq who (api-contributor token))
(adminp (api-contributor token)))
(http-err 403 "Cannot change that password."))