MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / login

Function login

ui/src/api/user/login.ts:13–18  ·  view source on GitHub ↗
(
  request,
  loading,
)

Source from the content-addressed store, hash-verified

11 * @returns 认证数据
12 */
13const login: (request: LoginRequest, loading?: Ref<boolean>) => Promise<Result<any>> = (
14 request,
15 loading,
16) => {
17 return post('/user/login', request, undefined, loading)
18}
19
20const ldapLogin: (request: LoginRequest, loading?: Ref<boolean>) => Promise<Result<any>> = (
21 request,

Callers

nothing calls this directly

Calls 1

postFunction · 0.90

Tested by

no test coverage detected