<commit_before># hapi-auth-2fa

2 factor authentication plugin for Hapi

[![BuildStatus](https://img.shields.io/travis/nrotta/hapi-auth-2fa/master.svg?style=flat-square)](https://travis-ci.org/nrotta/hapi-auth-2fa)
[![NPM version](https://img.shields.io/npm/v/hapi-auth-2fa.svg?style=flat-square)](https://www.npmjs.com/package/hapi-auth-2fa)

This plugin is heavily based on [hapi-authy] (https://github.com/mtharrison/hapi-authy)<commit_msg>Minor changes to the README file<commit_after># hapi-auth-2fa

2 factor authentication plugin for Hapi

[![BuildStatus](https://img.shields.io/travis/nrotta/hapi-auth-2fa/master.svg?style=flat-square)](https://travis-ci.org/nrotta/hapi-auth-2fa)
[![NPM version](https://img.shields.io/npm/v/hapi-auth-2fa.svg?style=flat-square)](https://www.npmjs.com/package/hapi-auth-2fa)

This plugin provides 2 factor authentication to your hapi application.

Check out the code under `example` for a working example of form based email / password and 2 factor authentication

This library is heavily based on [hapi-authy] (https://github.com/mtharrison/hapi-authy)
{'fraction_non_alphanumeric': 0.1552511415525114, 'fraction_numerical': 0.012785388127853882, 'mean_word_length': 5.157303370786517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5052986', 'n_tokens_mistral': 410, 'n_tokens_neox': 394, 'n_words': 71}