From 32a4f6c3109fb297b1240e853e67d431157e66d6 Mon Sep 17 00:00:00 2001 From: Shamil K Muhammed <noteness@riseup.net> Date: Sun, 29 Apr 2018 19:03:55 +0530 Subject: [PATCH] Update README --- README.rst | 4 ++-- diaspora_auth_provider.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index dc55ca9..ec152bf 100644 --- a/README.rst +++ b/README.rst @@ -118,12 +118,12 @@ And then, add these lines to ``mxisd.yaml``: sql: enabled: true type: mysql - connection: "//127.0.0.1/pprod?user=<USERNAME>&password=<PASSWORD>" + connection: "//<HOST>/<DATABASE>?user=<USERNAME>&password=<PASSWORD>" identity: type: 'uid' query: "select (case when ?='email' then username else null end) as uid from users where email=?" -Where ``<USERNAME>`` and ``<PASSWORD>`` are the database user and password you created when you set up database for synape-diaspora-auth +Where ``<HOST>``, ``<DATABASE>``,``<USERNAME>`` and ``<PASSWORD>`` are your database host, diaspora database, user and password you created when you set up database for synapse-diaspora-auth Now follow the steps `here <https://github.com/kamax-io/mxisd/blob/master/docs/features/authentication.md#advanced>`_. ie, forward the ``/_matrix/client/r0/login`` endpoint to mxisd and add diff --git a/diaspora_auth_provider.py b/diaspora_auth_provider.py index 151b953..3811939 100644 --- a/diaspora_auth_provider.py +++ b/diaspora_auth_provider.py @@ -22,13 +22,13 @@ import bcrypt import logging -__VERSION__ = "0.1.0" +__VERSION__ = "0.1.1" logger = logging.getLogger(__name__) class DiasporaAuthProvider: - __version__ = "0.1.0" + __version__ = "0.1.1" def __init__(self, config, account_handler): self.account_handler = account_handler -- GitLab