summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_users.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-04-30 09:00:06 +0000
committerGo MAEDA <maeda@farend.jp>2020-04-30 09:00:06 +0000
commit94c62816a52c13e1cdb91aab6f26c4798897b4a5 (patch)
tree6df427ce135df8554fc6ded0b95bf2860caaaa2b /app/views/settings/_users.html.erb
parentd94226dd4ccc5757a94f3fe1542cdd736831fd48 (diff)
downloadredmine-94c62816a52c13e1cdb91aab6f26c4798897b4a5.tar.gz
redmine-94c62816a52c13e1cdb91aab6f26c4798897b4a5.zip
Allowed/Disallowed email domains settings to restrict users' email addresses (#3369).
Patch by Yuichi HARADA and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19735 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings/_users.html.erb')
-rw-r--r--app/views/settings/_users.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/settings/_users.html.erb b/app/views/settings/_users.html.erb
index ab61d7c21..11c2aadac 100644
--- a/app/views/settings/_users.html.erb
+++ b/app/views/settings/_users.html.erb
@@ -3,6 +3,12 @@
<div class="box tabular settings">
<p><%= setting_text_field :max_additional_emails, :size => 6 %></p>
+ <p><%= setting_text_area :email_domains_allowed %>
+ <em class="info"><%= l(:text_comma_separated) %> <%= l(:label_example) %>: example.com, example.org</em></p>
+
+ <p><%= setting_text_area :email_domains_denied %>
+ <em class="info"><%= l(:text_comma_separated) %> <%= l(:label_example) %>: .example.com, foo.example.org, example.net</em></p>
+
<p><%= setting_check_box :unsubscribe %></p>
</div>