mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-18 23:53:11 +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
|
// 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user