From 00a30d468c14d61ba21c7b2362de7005fc93673b Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Sun, 18 Dec 2016 03:09:39 +0100 Subject: [PATCH 1/2] Edit README to adapt repo name --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dcf8fb8ae..8127cacfc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# http-two-factor +# two-factor-auth-server [![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)][MIT License] -**http-two-factor** is the simplest to set up HTTP 2-factor authentication server. It is compatible with NGINX auth_request module and is used in production to secure internal services in a swarm cluster. +**two-factor-auth-server** is the simplest to set up HTTP 2-factor authentication server. It is compatible with NGINX auth_request module and is used in production to secure internal services in a swarm cluster. ## Getting started @@ -21,10 +21,10 @@ You can use Google Authenticator for the verification of the TOTP token. You can Test secret key: GRWGIJS6IRHVEODVNRCXCOBMJ5AGC6ZE -![secret-key](https://github.com/clems4ever/http-two-factor/raw/master/secret-key.png) +![secret-key](https://github.com/clems4ever/two-factor-auth-server/raw/master/secret-key.png) ## Documentation -http-two-factor provides a way to log in using LDAP credentials and TOTP tokens. When the user is logged in, +two-factor-auth-server provides a way to log in using LDAP credentials and TOTP tokens. When the user is logged in, the server generates a JSON web token with an expiry date that the user must keep in the *access_token* cookie. ### Endpoints @@ -47,11 +47,11 @@ And the parameters: | /_auth (GET) | *access_token* cookie containing the JSON web token | @204 or @401 | | /_auth (POST) | { password: 'abc', username: 'user', token: '0982'} | @200 with access_token or @401 | -## Contributing to http-two-factor +## Contributing to two-factor-auth-server Follow [contributing](CONTRIBUTING.md) file. ## License -http-2-factor is **licensed** under the **[MIT License]**. The terms of the license are as follows: +two-factor-auth-server is **licensed** under the **[MIT License]**. The terms of the license are as follows: The MIT License (MIT) From 4a81b7e83152f09f2c7396414427812e727c0fbe Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Sun, 18 Dec 2016 03:14:00 +0100 Subject: [PATCH 2/2] 1.0.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 279b3b5bf..7cdbdb8c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "two-factor-auth-server", - "version": "1.0.6", + "version": "1.0.7", "description": "", "main": "src/index.js", "scripts": {