From 531a8ecd1dc7d4f827db9a2fc2090d9c4878ea17 Mon Sep 17 00:00:00 2001 Message-Id: <531a8ecd1dc7d4f827db9a2fc2090d9c4878ea17.1715150703.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 5 Jun 2010 14:40:53 +0100 Subject: [PATCH] Document that 'confirm' logs user in Organization: Straylight/Edgeware From: Richard Kettlewell --- doc/disorder_protocol.5.in | 3 ++- scripts/protocol | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/disorder_protocol.5.in b/doc/disorder_protocol.5.in index b9ed984..f3cb615 100644 --- a/doc/disorder_protocol.5.in +++ b/doc/disorder_protocol.5.in @@ -75,7 +75,8 @@ If \fIREGEXP\fR is present only matching files and directories are returned. .B confirm \fICONFIRMATION Confirm user registration. \fICONFIRMATION\fR is as returned from \fBregister\fR below. -This command can be used without logging in. +This command logs the user in. +The response contains the logged-in username. .TP .B cookie \fICOOKIE Log a user back in using a cookie created with \fBmake\-cookie\fR. diff --git a/scripts/protocol b/scripts/protocol index 46a1cbf..979a56a 100755 --- a/scripts/protocol +++ b/scripts/protocol @@ -311,7 +311,6 @@ string_login("confirm", "Confirm registration", "The confirmation string must have been created with 'register'. The username is returned so the caller knows who they are.", [["confirmation", "Confirmation string"]]); -#TODO update docs - this logs you in string_login("cookie", "Log in with a cookie", -- [mdw]