Improve panic message.

This commit is contained in:
Yang Luo
2021-04-29 13:50:29 +08:00
parent 93564e8389
commit cfe1eb9d50
2 changed files with 8 additions and 8 deletions

View File

@ -220,7 +220,7 @@ func (c *ApiController) Login() {
//}
}
} else {
panic("unknown authentication type (not password or provider)")
panic("unknown authentication type (not password or provider), form = " + util.StructToJson(form))
}
c.Data["json"] = resp