mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-04 21:47:40 +03:00
Fix-up c48332a940
This commit is contained in:
parent
41b49bd44f
commit
187fc66be1
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ func (s *SASLAuth) CreateSASL(mech string, remoteAddr net.Addr, successCb func(i
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
err := s.AuthPlain(username, password)
|
err = s.AuthPlain(username, password)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.Log.Error("authentication failed", err, "username", username, "src_ip", remoteAddr)
|
s.Log.Error("authentication failed", err, "username", username, "src_ip", remoteAddr)
|
||||||
return ErrInvalidAuthCred
|
return ErrInvalidAuthCred
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue