diff --git a/help/en/whitelist.myco b/help/en/whitelist.myco new file mode 100644 index 0000000..7190d7e --- /dev/null +++ b/help/en/whitelist.myco @@ -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. \ No newline at end of file diff --git a/views/auth.qtpl.go b/views/auth.qtpl.go index dd46040..fab2f12 100644 --- a/views/auth.qtpl.go +++ b/views/auth.qtpl.go @@ -416,22 +416,22 @@ func StreamLockHTML(qw422016 *qt422016.Writer) {
🔒