mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
docs: grammar fixes
This commit is contained in:
parent
c915d8113a
commit
7f5c6d2bb8
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ $ curl --url https://yourusername:password@forgejo.your.host/api/v1/users/<usern
|
|||
```
|
||||
|
||||
To use the API with basic authentication with two factor authentication
|
||||
enabled, you'll need to send an additional header that contains the one
|
||||
time password (6 digitrotating token).
|
||||
enabled, you'll need to send an additional header that contains the one-time password (6-digit rotating token).
|
||||
An example of the header is `X-Forgejo-OTP: 123456` where `123456`
|
||||
is where you'd place the code from your authenticator.
|
||||
Here is how the request would look like in curl:
|
||||
|
|
Loading…
Reference in a new issue