This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new f75343b  feat: added 2fa
f75343b is described below

commit f75343beeec9affe37c8985aef00fe453d9dbfc7
Author: juzhiyuan <jjzhiy...@gmail.com>
AuthorDate: Sun Mar 29 22:28:54 2020 +0800

    feat: added 2fa
---
 config.yaml                        |  4 ++++
 content/contribute/2fa/index.en.md | 20 ++++++++++++++++++++
 content/contribute/2fa/index.zh.md | 20 ++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/config.yaml b/config.yaml
index e505a55..c00b4d9 100644
--- a/config.yaml
+++ b/config.yaml
@@ -50,6 +50,8 @@ languages:
           url: /contribute/committer
         - title: Release Guide
           url: /contribute/release
+        - title: 2FA
+          url: /contribute/2fa
       - title: Team
         url: /team
       language:
@@ -142,6 +144,8 @@ languages:
         url: /zh/contribute/committer
       - title: 发布指南
         url: /zh/contribute/release
+      - title: 两步验证
+        url: /zh/contribute/2fa
     - title: 团队
       url: /zh/team
     language:
diff --git a/content/contribute/2fa/index.en.md 
b/content/contribute/2fa/index.en.md
new file mode 100644
index 0000000..28edbef
--- /dev/null
+++ b/content/contribute/2fa/index.en.md
@@ -0,0 +1,20 @@
+---
+title: "2FA"
+date: 2020-03-29T11:46:04+08:00
+include_footer: true
+---
+
+<div>
+<h2 class="title">Two-factor authentication(2FA)</h2>
+<p>Two factor authentication (2FA) refers to the authentication method that 
combines both passport and an object (credit card, SMS phone, token or 
biomarkers as fingerprint) to identify a user. To ensure the security of the 
committer’s account, we need you to enable 2FA to sign in and contribute codes 
on GitHub. More details, please refer to <a 
href="https://help.github.com/articles/requiring-two-factor-authentication-in-your-organization/";
 target="_blank">2FA</a>.</p>
+<p><strong>Note:</strong>If you do not enable 2FA, you will be removed from 
the project and unable to access our repositories and the fork from our private 
repository.</p>
+<br />
+<h2 class="title">Enable 2FA on GitHub</h2>
+<p>For detailed operations, please refer to <a 
href="https://help.github.com/en/github/authenticating-to-github/configuring-two-factor-authentication";
 target="_blank">Enable Two Factor Authentication with TOTP</a>.</p>
+<p>After enabling 2FA, you need to sign in GitHub with the way of 
username/password + mobile phone authentication code.</p>
+<p><strong>Tips:</strong> If you cannot download the APP through the page 
link, you can search and download the Google Authenticator in APP Store.</p>
+<br />
+<h2 class="title">How to Submit Codes</h2>
+<p>After enabling 2FA, you need to generate a private access Token to perform 
operations such as git submit and so on. At this time, you will use username + 
private access Token in replace of username + password to submit codes.</p>
+<p>For detailed operations, please refer to <a 
href="https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line";
 target="_blank">Create a Private Token</a>.</p>
+</div>
\ No newline at end of file
diff --git a/content/contribute/2fa/index.zh.md 
b/content/contribute/2fa/index.zh.md
new file mode 100644
index 0000000..0061ca1
--- /dev/null
+++ b/content/contribute/2fa/index.zh.md
@@ -0,0 +1,20 @@
+---
+title: "两步验证"
+date: 2020-03-29T11:46:04+08:00
+include_footer: true
+---
+
+<div>
+<h2 class="title">Two-factor authentication(2FA)</h2>
+<p>Two factor authentication (2FA) refers to the authentication method that 
combines both passport and an object (credit card, SMS phone, token or 
biomarkers as fingerprint) to identify a user. To ensure the security of the 
committer’s account, we need you to enable 2FA to sign in and contribute codes 
on GitHub. More details, please refer to <a 
href="https://help.github.com/articles/requiring-two-factor-authentication-in-your-organization/";
 target="_blank">2FA</a>.</p>
+<p><strong>Note:</strong>If you do not enable 2FA, you will be removed from 
the project and unable to access our repositories and the fork from our private 
repository.</p>
+<br />
+<h2 class="title">Enable 2FA on GitHub</h2>
+<p>For detailed operations, please refer to <a 
href="https://help.github.com/en/github/authenticating-to-github/configuring-two-factor-authentication";
 target="_blank">Enable Two Factor Authentication with TOTP</a>.</p>
+<p>After enabling 2FA, you need to sign in GitHub with the way of 
username/password + mobile phone authentication code.</p>
+<p><strong>Tips:</strong> If you cannot download the APP through the page 
link, you can search and download the Google Authenticator in APP Store.</p>
+<br />
+<h2 class="title">How to Submit Codes</h2>
+<p>After enabling 2FA, you need to generate a private access Token to perform 
operations such as git submit and so on. At this time, you will use username + 
private access Token in replace of username + password to submit codes.</p>
+<p>For detailed operations, please refer to <a 
href="https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line";
 target="_blank">Create a Private Token</a>.</p>
+</div>
\ No newline at end of file

Reply via email to