mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 09:44:21 +00:00 
			
		
		
		
	Fix oauth docs usage for 2fa (#18581)
This commit is contained in:
		@@ -129,7 +129,7 @@ Admin operations:
 | 
				
			|||||||
        - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
 | 
					        - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
 | 
				
			||||||
        - `--custom-email-url`: Use a custom Email URL (option for GitHub).
 | 
					        - `--custom-email-url`: Use a custom Email URL (option for GitHub).
 | 
				
			||||||
        - `--icon-url`: Custom icon URL for OAuth2 login source.
 | 
					        - `--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)
 | 
					        - `--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-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)
 | 
					        - `--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-profile-url`: Use a custom Profile URL (option for GitLab/GitHub).
 | 
				
			||||||
        - `--custom-email-url`: Use a custom Email URL (option for GitHub).
 | 
					        - `--custom-email-url`: Use a custom Email URL (option for GitHub).
 | 
				
			||||||
        - `--icon-url`: Custom icon URL for OAuth2 login source.
 | 
					        - `--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.
 | 
					        - `--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-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)
 | 
					        - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user