Introduce new user_temporary_token & use for token storage of 2FA/OTP registration

This commit is contained in:
Bryan Ashby
2019-06-11 21:20:34 -06:00
parent 18eecb6223
commit fa3e3e5802
5 changed files with 203 additions and 14 deletions

View File

@@ -233,6 +233,11 @@ function getDefaultConfig() {
twoFactorAuth : {
method : 'googleAuth',
otp : {
registerEmailText : paths.join(__dirname, '../misc/otp_register_email.template.txt'),
registerEmailHtml : paths.join(__dirname, '../misc/otp_register_email.template.html')
}
}
},