Update vendor/
This commit is contained in:
4
vendor/github.com/emersion/go-imap/commands/authenticate.go
generated
vendored
4
vendor/github.com/emersion/go-imap/commands/authenticate.go
generated
vendored
@@ -27,7 +27,7 @@ type Authenticate struct {
|
||||
|
||||
func (cmd *Authenticate) Command() *imap.Command {
|
||||
return &imap.Command{
|
||||
Name: imap.Authenticate,
|
||||
Name: "AUTHENTICATE",
|
||||
Arguments: []interface{}{cmd.Mechanism},
|
||||
}
|
||||
}
|
||||
@@ -62,7 +62,7 @@ func (cmd *Authenticate) Handle(mechanisms map[string]sasl.Server, conn Authenti
|
||||
}
|
||||
|
||||
encoded := base64.StdEncoding.EncodeToString(challenge)
|
||||
cont := &imap.ContinuationResp{Info: encoded}
|
||||
cont := &imap.ContinuationReq{Info: encoded}
|
||||
if err := conn.WriteResp(cont); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user