mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Bug fix
This commit is contained in:
		@@ -61,7 +61,11 @@ func Config(ctx *middleware.Context) {
 | 
			
		||||
 | 
			
		||||
	ctx.Data["DbCfg"] = models.DbCfg
 | 
			
		||||
 | 
			
		||||
	ctx.Data["Mailer"] = base.MailService
 | 
			
		||||
	ctx.Data["MailerEnabled"] = false
 | 
			
		||||
	if base.MailService != nil {
 | 
			
		||||
		ctx.Data["MailerEnabled"] = true
 | 
			
		||||
		ctx.Data["Mailer"] = base.MailService
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	ctx.HTML(200, "admin/config")
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user