FEATURE: new setting to validate user website

This commit is contained in:
Arpit Jalan
2016-12-26 20:54:54 +05:30
parent d46b0a7251
commit d72cbcb2a4
4 changed files with 29 additions and 9 deletions

View File

@@ -1322,6 +1322,8 @@ en:
hide_user_profiles_from_public: "Disable user cards, user profiles and user directory for anonymous users."
user_website_domains_whitelist: "User website will be verified against these domains. Pipe-delimited list."
allow_profile_backgrounds: "Allow users to upload profile backgrounds."
sequential_replies_threshold: "Number of posts a user has to make in a row in a topic before being reminded about too many sequential replies."
@@ -1606,6 +1608,8 @@ en:
ip_address:
blocked: "New registrations are not allowed from your IP address."
max_new_accounts_per_registration_ip: "New registrations are not allowed from your IP address (maximum limit reached). Contact a staff member."
website:
domain_not_allowed: "Website is invalid. Allowed domains are: %{domains}"
flags_reminder:
flags_were_submitted:

View File

@@ -410,6 +410,9 @@ users:
hide_user_profiles_from_public:
default: false
client: true
user_website_domains_whitelist:
default: ''
type: list
groups:
enable_group_directory: