mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Fix #214
This commit is contained in:
		| @@ -330,6 +330,7 @@ func newSessionService() { | ||||
| type Mailer struct { | ||||
| 	Name         string | ||||
| 	Host         string | ||||
| 	From         string | ||||
| 	User, Passwd string | ||||
| } | ||||
|  | ||||
| @@ -363,6 +364,7 @@ func newMailService() { | ||||
| 		User:   Cfg.MustValue("mailer", "USER"), | ||||
| 		Passwd: Cfg.MustValue("mailer", "PASSWD"), | ||||
| 	} | ||||
| 	MailService.From = Cfg.MustValue("mailer", "FROM", MailService.User) | ||||
| 	log.Info("Mail Service Enabled") | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user