Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
thedewpoint committed Jan 3, 2018
1 parent 9368b22 commit bb3e9fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ let code = await iotaAuth.generateValidationCode();
const seed ='PBGRWJXOALEOBXNUPCFUNWXSEXMYC9BVLLK9HMUDXNOETYJHSKBHDR9SWAWJIKVPFSBWNCNSQQJUFUPJM';
const iotaAuth = new IotAuth(seed);

//initialize with stored seed and expiration time (minutes)
const seed ='PBGRWJXOALEOBXNUPCFUNWXSEXMYC9BVLLK9HMUDXNOETYJHSKBHDR9SWAWJIKVPFSBWNCNSQQJUFUPJM';
const iotaAuth = new IotAuth(seed, 6);
//checks whether code was passed within 6 minutes

//pass validation code
let code = 'LMNOPQ';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iota-auth",
"version": "1.0.2",
"version": "1.0.3",
"description": "2fa module using iota's tangle as the backend",
"license": "MIT",
"repository": "https://github.com/thedewpoint/iotauth.git",
Expand Down

0 comments on commit bb3e9fd

Please sign in to comment.