mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 03:00:18 +08:00
Improve panic message.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user