diff options
author | Unknwon <u@gogs.io> | 2015-09-11 13:32:33 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-11 13:32:33 -0400 |
commit | 362d64df0483700ac435c4b05709265378887a4e (patch) | |
tree | fb367bbd236ea7707df0d9d5bbfe5d95a19dca0a /templates/admin/auth/new.tmpl | |
parent | 373ef5d15e1c2781bf47750554cb21e4ed5446c1 (diff) |
#1620 add allowed domains for SMTP auth
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r-- | templates/admin/auth/new.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 06bcb8df..e7edccf6 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 --> |