mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-18 13:02:54 +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:
parent
ede1b9514c
commit
5a7e9c104b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user