mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-22 19:16:29 +03:00
Don't debug print so much
This commit is contained in:
@@ -123,7 +123,6 @@ func main() {
|
|||||||
imapServer := server.New(imapBackend)
|
imapServer := server.New(imapBackend)
|
||||||
imapServer.Addr = *imapaddr
|
imapServer.Addr = *imapaddr
|
||||||
imapServer.AllowInsecureAuth = true
|
imapServer.AllowInsecureAuth = true
|
||||||
imapServer.Debug = os.Stdout
|
|
||||||
imapServer.EnableAuth(sasl.Login, func(conn server.Conn) sasl.Server {
|
imapServer.EnableAuth(sasl.Login, func(conn server.Conn) sasl.Server {
|
||||||
return sasl.NewLoginServer(func(username, password string) error {
|
return sasl.NewLoginServer(func(username, password string) error {
|
||||||
_, err := imapBackend.Login(nil, username, password)
|
_, err := imapBackend.Login(nil, username, password)
|
||||||
|
|||||||
Reference in New Issue
Block a user