Add admin property to accounts in the config
This commit is contained in:
parent
5a40eab800
commit
ce85ca2be0
2 changed files with 3 additions and 0 deletions
|
|
@ -10,10 +10,12 @@ port = 4000
|
|||
# accounts.
|
||||
# username: The account's username
|
||||
# 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
|
||||
# the ability to see and modify. The only special string supported is "*"
|
||||
# which is the equivalent of all channels within the system.
|
||||
[[accounts]]
|
||||
username = "example"
|
||||
password = "change-this-password-because-it's-incredibly-insecure-since-it's-public"
|
||||
admin = false
|
||||
access = ["*"]
|
||||
1
src/types/config.d.ts
vendored
1
src/types/config.d.ts
vendored
|
|
@ -1,6 +1,7 @@
|
|||
interface account {
|
||||
username: string;
|
||||
password: string;
|
||||
admin: boolean;
|
||||
access: string[];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue