Good progress on 2FA/OTP config

This commit is contained in:
Bryan Ashby 2019-05-24 22:27:50 -06:00
parent b62f55961f
commit 8802ae24ba
No known key found for this signature in database
GPG key ID: B49EB437951D2542
7 changed files with 230 additions and 10 deletions

View file

@ -17,10 +17,11 @@ const Config = require('./config.js').get;
// deps
const _ = require('lodash');
const crypto = require('crypto');
const async = require('async');
const qrGen = require('qrcode-generator');
exports.prepareOTP = prepareOTP;
exports.createQRCode = createQRCode;
exports.otpFromType = otpFromType;
exports.loginFactor2_OTP = loginFactor2_OTP;
const OTPTypes = exports.OTPTypes = {