mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-03 15:31:51 +02:00
UPDATE
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@ const tplSettingsNotifications templates.TplName = "user/settings/notifications"
|
||||
// Notifications render user's notifications settings
|
||||
func Notifications(ctx *context.Context) {
|
||||
if !setting.Service.EnableNotifyMail {
|
||||
ctx.NotFound(errors.New("NotifyMail not enabled"))
|
||||
ctx.NotFound(nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user