diff options
author | Sambhav Saggi <17993169+9p4@users.noreply.github.com> | 2022-02-03 12:00:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 17:00:34 +0000 |
commit | e2bbbc4876f089c29c5727e7a74d2e3f09f667f0 (patch) | |
tree | 63f47ec7c1880a5e9e84494247e18cf1a4b4415e /docs | |
parent | 90b4d385dd57b2f8396ab39f0ac1279472059a1b (diff) | |
download | gitea-e2bbbc4876f089c29c5727e7a74d2e3f09f667f0.tar.gz gitea-e2bbbc4876f089c29c5727e7a74d2e3f09f667f0.zip |
Fix oauth docs usage for 2fa (#18581)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/usage/command-line.en-us.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md index 90e872e635..80a2c6716d 100644 --- a/docs/content/doc/usage/command-line.en-us.md +++ b/docs/content/doc/usage/command-line.en-us.md @@ -129,7 +129,7 @@ Admin operations: - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub). - `--custom-email-url`: Use a custom Email URL (option for GitHub). - `--icon-url`: Custom icon URL for OAuth2 login source. - - `--override-local-2fa`: Allow source to override local 2FA. (Optional) + - `--skip-local-2fa`: Allow source to override local 2FA. (Optional) - `--scopes`: Additional scopes to request for this OAuth2 source. (Optional) - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional) - `--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: - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub). - `--custom-email-url`: Use a custom Email URL (option for GitHub). - `--icon-url`: Custom icon URL for OAuth2 login source. - - `--override-local-2fa`: Allow source to override local 2FA. (Optional) + - `--skip-local-2fa`: Allow source to override local 2FA. (Optional) - `--scopes`: Additional scopes to request for this OAuth2 source. - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional) - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional) |