Require authentication to participate in chat (#4762)
* feat(chat): require authentication to participate in chat * fix: it's pretty much impossible to bypass the auth requirement, addressing review feedback anyway * feat(chat): render chat text input as disabled if chat auth is required * Commit updated API documentation --------- Co-authored-by: Owncast <owncast@owncast.online>
This commit is contained in:
@@ -9,6 +9,7 @@ export interface ClientConfig {
|
||||
extraPageContent: string;
|
||||
socialHandles: SocialHandle[];
|
||||
chatDisabled: boolean;
|
||||
chatRequireAuthentication: boolean;
|
||||
externalActions: any[];
|
||||
customStyles: string;
|
||||
appearanceVariables: Map<string, string>;
|
||||
@@ -55,6 +56,7 @@ export function makeEmptyClientConfig(): ClientConfig {
|
||||
extraPageContent: '',
|
||||
socialHandles: [],
|
||||
chatDisabled: false,
|
||||
chatRequireAuthentication: false,
|
||||
externalActions: [],
|
||||
customStyles: '',
|
||||
appearanceVariables: new Map(),
|
||||
|
||||
Reference in New Issue
Block a user