We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ede1b95 commit 5a7e9c1Copy full SHA for 5a7e9c1
routers/web/user/setting/notifications.go
@@ -21,7 +21,7 @@ const tplSettingsNotifications templates.TplName = "user/settings/notifications"
21
// Notifications render user's notifications settings
22
func Notifications(ctx *context.Context) {
23
if !setting.Service.EnableNotifyMail {
24
- ctx.NotFound(errors.New("NotifyMail not enabled"))
+ ctx.NotFound(nil)
25
return
26
}
27
0 commit comments