From c72074b48e1714c2c41f71b0f81474ecafa29144 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 6 Oct 2014 14:57:26 +0100 Subject: [PATCH] Clarify how-to some more. --- docs/client-server/howto.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/client-server/howto.rst b/docs/client-server/howto.rst index 9913e8db1e..37346224af 100644 --- a/docs/client-server/howto.rst +++ b/docs/client-server/howto.rst @@ -39,14 +39,15 @@ when accessing other APIs:: "user_id": "@example:localhost" } -NB: If a ``user_id`` is not specified, one will be randomly generated for you. +NB: If a ``user`` is not specified, one will be randomly generated for you. If you do not specify a ``password``, you will be unable to login to the account if you forget the ``access_token``. Implementation note: The matrix specification does not enforce how users register with a server. It just specifies the URL path and absolute minimum keys. The reference home server uses a username/password to authenticate user, -but other home servers may use different methods. +but other home servers may use different methods. This is why you need to +specify the ``type`` of method. Login -----