认证

获取认证配置

Changed on

返回当前部署的注册模式与密码复杂度开关,供前端决定是否展示注册入口以及密码校验规则

get/auth/config

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/auth/config
  • Auth
    none declared

Response

认证配置

complex_password_enabledboolean
registration_modestring
successboolean

Example response

{
  "success": true
}

Changes