diff --git a/config.template.toml b/config.template.toml index 7ff4293..f9a2449 100644 --- a/config.template.toml +++ b/config.template.toml @@ -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 = ["*"] \ No newline at end of file diff --git a/src/types/config.d.ts b/src/types/config.d.ts index 6e75f67..d62166f 100644 --- a/src/types/config.d.ts +++ b/src/types/config.d.ts @@ -1,6 +1,7 @@ interface account { username: string; password: string; + admin: boolean; access: string[]; }