feat: add domain blocklist feature (#10016)

Co-authored-by: Pranav <pranav@chatwoot.com>
This commit is contained in:
Shivam Mishra
2024-08-26 13:05:36 +05:30
committed by GitHub
parent 53d68868c6
commit 3489783cb8
5 changed files with 31 additions and 4 deletions

View File

@@ -168,6 +168,11 @@
display_title: 'Dashboard Scripts'
description: 'Scripts are loaded as the last item in the <body> tag'
type: code
- name: BLOCKED_EMAIL_DOMAINS
value:
display_title: 'Blocked Email Domains'
description: 'Add a domain per line to block them from signing up, accepts Regex'
type: code
# ------- End of Chatwoot Internal Config for Cloud ----#
# ------- Chatwoot Internal Config for Self Hosted ----#
@@ -220,11 +225,11 @@
## ----- Captain Configs ----- ##
- name: CAPTAIN_API_URL
value:
value:
display_title: 'Captain API URL'
description: 'The API URL for Captain'
- name: CAPTAIN_APP_URL
value:
value:
display_title: 'Captain App URL'
description: 'The App URL for Captain'
## ----- End of Captain Configs ----- ##

View File

@@ -43,6 +43,7 @@ en:
invalid: Invalid events
signup:
disposable_email: We do not allow disposable emails
blocked_domain: This domain is not allowed. If you believe this is a mistake, please contact support.
invalid_email: You have entered an invalid email
email_already_exists: "You have already signed up for an account with %{email}"
invalid_params: 'Invalid, please check the signup paramters and try again'