From 1835a3748ed981a67e9d8edcb4e3c849e775c6a7 Mon Sep 17 00:00:00 2001 From: Ekko Date: Thu, 27 Jun 2024 14:04:30 +0800 Subject: [PATCH] Fix: wrong filed name https://github.com/alist-org/alist/discussions/5699 --- docs/guide/api/auth.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/guide/api/auth.md b/docs/guide/api/auth.md index 638bad871f..80bba965a0 100644 --- a/docs/guide/api/auth.md +++ b/docs/guide/api/auth.md @@ -28,8 +28,8 @@ POST /api/auth/login ```json { - "username": "{{alist_username}}", - "password": "{{alist_password}}" + "Username": "{{alist_username}}", + "Password": "{{alist_password}}" } ``` @@ -38,8 +38,8 @@ POST /api/auth/login | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 | | ---------- | ---- | ------ | ---- | ---------- | ---------- | | body | body | object | 否 | | none | -| » username | body | string | 是 | 用户名 | 用户名 | -| » password | body | string | 是 | 密码 | 密码 | +| » Username | body | string | 是 | 用户名 | 用户名 | +| » Password | body | string | 是 | 密码 | 密码 | | » otp_code | body | string | 否 | 二步验证码 | 二步验证码 | ### 返回示例