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:
@@ -154,6 +154,7 @@ export interface ConfigDetails {
|
||||
chatDisabled: boolean;
|
||||
chatSpamProtectionEnabled: boolean;
|
||||
chatSlurFilterEnabled: boolean;
|
||||
chatRequireAuthentication: boolean;
|
||||
federation: Federation;
|
||||
notifications: NotificationsConfig;
|
||||
chatJoinMessagesEnabled: boolean;
|
||||
|
||||
@@ -68,8 +68,7 @@ export const Localization = {
|
||||
deniedTitle: 'Frontend.BrowserNotifyModal.deniedTitle',
|
||||
deniedDescription: 'Frontend.BrowserNotifyModal.deniedDescription',
|
||||
mainDescription: 'Frontend.BrowserNotifyModal.mainDescription',
|
||||
learnMoreAboutNotifications:
|
||||
'Frontend.BrowserNotifyModal.learnMoreAboutNotifications',
|
||||
learnMoreAboutNotifications: 'Frontend.BrowserNotifyModal.learnMoreAboutNotifications',
|
||||
errorTitle: 'Frontend.BrowserNotifyModal.errorTitle',
|
||||
errorMessage: 'Frontend.BrowserNotifyModal.errorMessage',
|
||||
},
|
||||
@@ -107,6 +106,7 @@ export const Localization = {
|
||||
userLeft: 'Frontend.Chat.userLeft',
|
||||
nameChangeText: 'Frontend.Chat.nameChangeText',
|
||||
moderatorNotification: 'Frontend.Chat.moderatorNotification',
|
||||
authenticateToChat: 'Frontend.Chat.authenticateToChat',
|
||||
},
|
||||
|
||||
// Follow modal component
|
||||
|
||||
Reference in New Issue
Block a user