mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Hide notify mail setting ui if not enabled (#20138)
This commit is contained in:
@@ -34,6 +34,7 @@ func Account(ctx *context.Context) {
|
||||
ctx.Data["Title"] = ctx.Tr("settings")
|
||||
ctx.Data["PageIsSettingsAccount"] = true
|
||||
ctx.Data["Email"] = ctx.Doer.Email
|
||||
ctx.Data["EnableNotifyMail"] = setting.Service.EnableNotifyMail
|
||||
|
||||
loadAccountData(ctx)
|
||||
|
||||
|
Reference in New Issue
Block a user