forked from External/ergo
Initial ACC update to match the new spec
This commit is contained in:
parent
c5dd87a64d
commit
4df71df454
7 changed files with 283 additions and 247 deletions
|
|
@ -295,7 +295,7 @@ func nsIdentifyHandler(server *Server, client *Client, command string, params []
|
|||
}
|
||||
|
||||
if loginSuccessful {
|
||||
sendSuccessfulSaslAuth(client, rb, true)
|
||||
sendSuccessfulAccountAuth(client, rb, true, true)
|
||||
} else {
|
||||
nsNotice(rb, client.t("Could not login with your TLS certificate or supplied username/password"))
|
||||
}
|
||||
|
|
@ -407,8 +407,7 @@ func nsRegisterHandler(server *Server, client *Client, command string, params []
|
|||
|
||||
// details could not be stored and relevant numerics have been dispatched, abort
|
||||
if err != nil {
|
||||
errMsg, _ := registrationErrorToMessageAndCode(err)
|
||||
nsNotice(rb, errMsg)
|
||||
nsNotice(rb, client.t(registrationErrorToMessageAndCode(err)))
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue