0
0
Fork 0
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:
wackbyte 2023-06-19 21:04:05 -04:00 committed by Caesar Schinas
parent c915d8113a
commit 7f5c6d2bb8
No known key found for this signature in database
GPG key ID: AE9108461BEA5ACF

View file

@ -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: