summaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/new.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-11 19:32:33 +0200
committerUnknwon <u@gogs.io>2015-09-11 19:32:33 +0200
commit362d64df0483700ac435c4b05709265378887a4e (patch)
treefb367bbd236ea7707df0d9d5bbfe5d95a19dca0a /templates/admin/auth/new.tmpl
parent#1500 timezone minutes offset (diff)
downloadforgejo-362d64df0483700ac435c4b05709265378887a4e.tar.xz
forgejo-362d64df0483700ac435c4b05709265378887a4e.zip
#1620 add allowed domains for SMTP auth
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r--templates/admin/auth/new.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 06bcb8dfac..e7edccf6a8 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -103,6 +103,11 @@
<label for="smtp_port">{{.i18n.Tr "admin.auths.smtpport"}}</label>
<input id="smtp_port" name="smtp_port" value="{{.smtp_port}}">
</div>
+ <div class="field">
+ <label for="allowed_domains">{{.i18n.Tr "admin.auths.allowed_domains"}}</label>
+ <input id="allowed_domains" name="allowed_domains" value="{{.allowed_domains}}">
+ <p class="help">{{.i18n.Tr "admin.auths.allowed_domains_helper"}}</p>
+ </div>
</div>
<!-- PAM -->