Apologise for something annoying
This commit is contained in:
parent
54b499d24f
commit
2848a67c44
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ The code is derived from [ejabberd-auth-mysql](https://github.com/rankenstein/ej
|
||||||
It is used on [Chinwag Social](https://social.chinwag.org) to provide XMPP messaging functionality to every account.
|
It is used on [Chinwag Social](https://social.chinwag.org) to provide XMPP messaging functionality to every account.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
Edit the `auth-mastodon.py` file and add database connection credentials at the top. Moving this to a config file is next on the TODO list.
|
Edit the `auth-mastodon.py` file and add database connection credentials at the top. Moving this to a config file is next on the TODO list, as this makes updates an awful process. Sorry.
|
||||||
|
|
||||||
I recommend not using your main Mastodon database user account for this, and instead granting SELECT privileges on the Mastodon *accounts* and *users* tables to your ejabberd user instead.
|
I recommend not using your main Mastodon database user account for this, and instead granting SELECT privileges on the Mastodon *accounts* and *users* tables to your ejabberd user instead.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue