mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
Fix login.
This commit is contained in:
@ -1,5 +1,12 @@
|
||||
import * as Setting from "../Setting";
|
||||
|
||||
export function getGlobalUsers() {
|
||||
return fetch(`${Setting.ServerUrl}/api/get-global-users`, {
|
||||
method: "GET",
|
||||
credentials: "include"
|
||||
}).then(res => res.json());
|
||||
}
|
||||
|
||||
export function getUsers(owner) {
|
||||
return fetch(`${Setting.ServerUrl}/api/get-users?owner=${owner}`, {
|
||||
method: "GET",
|
||||
|
Reference in New Issue
Block a user