Fix login.

This commit is contained in:
Yang Luo
2021-02-13 00:11:12 +08:00
parent d30c96038d
commit cdc1445883
9 changed files with 99 additions and 26 deletions

View File

@ -20,6 +20,11 @@ import (
"github.com/casdoor/casdoor/object"
)
func (c *ApiController) GetGlobalUsers() {
c.Data["json"] = object.GetGlobalUsers()
c.ServeJSON()
}
func (c *ApiController) GetUsers() {
owner := c.Input().Get("owner")