diff --git a/README.rst b/README.rst index dc55ca9ff1e83c881ce654292267a1ca640c589d..ec152bfe818180a5ec4120f5f64491747969d936 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 151b953d37e578f4b1d97febab60a0231bb4746a..3811939fcb777b9b6bc437c8fe5cc0eebe425fef 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