Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com>
This commit is contained in:
NorthRealm
2025-07-11 00:53:44 +08:00
committed by GitHub
co-authored by wxiaoguang
parent ede1b9514c
commit 5a7e9c104b
+1 -1
View File
@@ -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
}