2021-11-30 17:58:03 +00:00
= Lock
2021-07-31 14:49:18 +00:00
//This article is intended for wiki administrators.//
Sometimes, you may want to let only authorized users to view your wiki. This is when **lock** comes in handy.
2021-11-30 17:58:03 +00:00
== Enabling
2021-07-31 14:49:18 +00:00
In `config.ini`, set `Locked` to `true` to enable. `UseAuth` must also be `true`.
```ini
...
[Authorization]
UseAuth = true
Locked = true
...
```
Restart your wiki.
2021-11-30 17:58:03 +00:00
== Usage
2021-07-31 14:49:18 +00:00
When unauthorized people visit your wiki, they will see something like this:
img {
https://mycorrhiza.wiki/binary/release/1.3/lock_screenshot
}
If they log in, they will be able to navigate the wiki. They are not able to register, though. [[/help/en/telegram | Telegram]] authorization is supported.
2021-11-30 17:58:03 +00:00
== See also
2021-07-31 14:49:18 +00:00
=> /help/en/whitelist Whitelist