summaryrefslogtreecommitdiffstats
path: root/templates/user/settings/account.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/settings/account.tmpl')
-rw-r--r--templates/user/settings/account.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl
index 3662ec0fa7..1b3fd136de 100644
--- a/templates/user/settings/account.tmpl
+++ b/templates/user/settings/account.tmpl
@@ -43,6 +43,7 @@
</h4>
<div class="ui attached segment">
<div class="ui email list">
+ {{if $.EnableNotifyMail}}
<div class="item">
<form action="{{AppSubUrl}}/user/settings/account/email" class="ui form" method="post">
{{.i18n.Tr "settings.email_desc"}}
@@ -69,6 +70,7 @@
</div>
</form>
</div>
+ {{end}}
{{range .Emails}}
<div class="item">
{{if not .IsPrimary}}