1
0
mirror of https://github.com/azlux/botamusique synced 2024-11-23 13:56:17 +00:00
1 Web interface auth methods
Terry Geng edited this page 2020-05-23 14:53:04 +08:00

We provide three auth methods for the web interface.

Token

Users need to send !web to the bot, and the bot will respond with a URL with a "token" in it. Users can access the web interface by clicking at that link or type the token in the login webpage.

To use token auth method, you need to set

[webinterface]
auth_method = token

All users can use !web to gain access to the web interface. If you'd like to restrict it, please use the password auth method described below.

Password

Users will be asked for a password when accessing the web interface.

You need to set the default user name and password in the configuration file.

[webinterface]
auth_method = password
username = {username}
password = {password}

You can add users by !webadduser {mumble username}. Then that user should specify a password by !password {password}. After these steps, users can log in to the web interface with their mumble usernames and the password they set.