Skip to content

Commit 14548ba

Browse files
committed
Add space between required and 2fa-type
It's causing confusion for API client implementation. See mislav/hub#515 (comment) for details.
1 parent ad9487c commit 14548ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/v3/auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ want to take advantage of OAuth access token security features.
5656

5757
For users with two-factor authentication enabled, Basic Authentication requires
5858
an extra step. When you attempt to authenticate with Basic Authentication, the
59-
server will respond with a `401` and an `X-GitHub-OTP: required;:2fa-type`
59+
server will respond with a `401` and an `X-GitHub-OTP: required; :2fa-type`
6060
header. This indicates that a two-factor authentication code is needed (in
6161
addition to the username and password). The `:2fa-type` in this header indicates
6262
whether the account receives its two-factor authentication codes via SMS or via

0 commit comments

Comments
 (0)