0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-18 19:32:55 +02:00
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
parent ede1b9514c
commit 5a7e9c104b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ const tplSettingsNotifications templates.TplName = "user/settings/notifications"
// Notifications render user's notifications settings // Notifications render user's notifications settings
func Notifications(ctx *context.Context) { func Notifications(ctx *context.Context) {
if !setting.Service.EnableNotifyMail { if !setting.Service.EnableNotifyMail {
ctx.NotFound(errors.New("NotifyMail not enabled")) ctx.NotFound(nil)
return return
} }