0
0
Fork 0

Add admin property to accounts in the config

This commit is contained in:
Oliver Akins 2022-07-31 17:49:23 -06:00
parent 5a40eab800
commit ce85ca2be0
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99
2 changed files with 3 additions and 0 deletions

View file

@ -10,10 +10,12 @@ port = 4000
# accounts. # accounts.
# username: The account's username # username: The account's username
# password: The account's password # password: The account's password
# admin: This is just used to show extra information on the website or not.
# access: An array of strings representing channel names that the account has # access: An array of strings representing channel names that the account has
# the ability to see and modify. The only special string supported is "*" # the ability to see and modify. The only special string supported is "*"
# which is the equivalent of all channels within the system. # which is the equivalent of all channels within the system.
[[accounts]] [[accounts]]
username = "example" username = "example"
password = "change-this-password-because-it's-incredibly-insecure-since-it's-public" password = "change-this-password-because-it's-incredibly-insecure-since-it's-public"
admin = false
access = ["*"] access = ["*"]

View file

@ -1,6 +1,7 @@
interface account { interface account {
username: string; username: string;
password: string; password: string;
admin: boolean;
access: string[]; access: string[];
} }