Improve error message on scope signin

This commit is contained in:
Tobie Morgan Hitchcock 2017-12-20 06:51:51 +00:00
parent bec4c4e235
commit 40f1c4b224

View file

@ -122,7 +122,7 @@ func signin(c *fibre.Context) (err error) {
// If the response has no record set then return a 403 error.
if len(res[0].Result) != 1 {
m := "Authentication scope signin was unsuccessful: No record created"
m := "Authentication scope signin was unsuccessful: No record returned"
return fibre.NewHTTPError(403).WithFields(f).WithMessage(m)
}