make templates configurable + authorization

This commit is contained in:
uurgothat committed 2021-10-24 19:49:32 +03:00
1 parent 537da73d38
commit d6cadb02f4
3 files changed
+15 -38

No files matched your search

+2 -4
View File
@@ -164,8 +164,7 @@ export interface ConfigValue {
enabled: Boolean;
allowTemplateCreation: Boolean;
allowDiscordTemplates: Boolean;
allowOtherInstancesTemplates: Boolean;
allowExternalRaws: Boolean
allowRaws: Boolean;
}
}
@@ -332,7 +331,6 @@ export const DefaultConfigOptions: ConfigValue = {
enabled: true,
allowTemplateCreation: true,
allowDiscordTemplates: true,
allowOtherInstancesTemplates: false, //Incomple
allowExternalRaws: false
allowRaws: false
}
};