Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: wrong filed name #360

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/guide/api/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ POST /api/auth/login

```json
{
"username": "{{alist_username}}",
"password": "{{alist_password}}"
"Username": "{{alist_username}}",
"Password": "{{alist_password}}"
}
```

Expand All @@ -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 | 否 | 二步验证码 | 二步验证码 |

### 返回示例
Expand Down