1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-12-08 17:38:08 +00:00

Write the whitelist help article and fix some help bugs

The bugs were introduced by the new routing system...
This commit is contained in:
Timur Ismagilov
2021-07-24 16:30:28 +05:00
parent 6241350e8b
commit 87e0045d80
5 changed files with 204 additions and 170 deletions

15
help/en/whitelist.myco Normal file
View File

@@ -0,0 +1,15 @@
# Whitelist
If you want to limit what people can authorize to your wiki, you may want to use the **whitelist**.
In `config.ini`, in the `[Authorization]` section, enable the white list in `UseWhiteList` and list all allowed usernames in the `WhiteList` field separated by comma:
```
...
[Authorization]
UseWhiteList = true
WhiteList = fish,pesce,рыба
...
```
Reload the wiki.
From now on, only these usernames can be used, ie you can only register and log in with these names. Others will be rejected.