Skip to content

Commit 4dee497

Browse files
9p4Stelios Malathouras
authored and
Stelios Malathouras
committed
Fix oauth docs usage for 2fa (go-gitea#18581)
1 parent f950285 commit 4dee497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/doc/usage/command-line.en-us.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Admin operations:
129129
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
130130
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
131131
- `--icon-url`: Custom icon URL for OAuth2 login source.
132-
- `--override-local-2fa`: Allow source to override local 2FA. (Optional)
132+
- `--skip-local-2fa`: Allow source to override local 2FA. (Optional)
133133
- `--scopes`: Additional scopes to request for this OAuth2 source. (Optional)
134134
- `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional)
135135
- `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional)
@@ -152,7 +152,7 @@ Admin operations:
152152
- `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
153153
- `--custom-email-url`: Use a custom Email URL (option for GitHub).
154154
- `--icon-url`: Custom icon URL for OAuth2 login source.
155-
- `--override-local-2fa`: Allow source to override local 2FA. (Optional)
155+
- `--skip-local-2fa`: Allow source to override local 2FA. (Optional)
156156
- `--scopes`: Additional scopes to request for this OAuth2 source.
157157
- `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional)
158158
- `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional)

0 commit comments

Comments
 (0)