mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 11:16:10 +02:00
Introduce new user_temporary_token & use for token storage of 2FA/OTP registration
This commit is contained in:
parent
18eecb6223
commit
fa3e3e5802
5 changed files with 203 additions and 14 deletions
|
@ -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')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue