Last active
December 23, 2018 03:04
-
-
Save eddyystop/3528083f2f81b34b78c198f8fe2187f6 to your computer and use it in GitHub Desktop.
a-l-m / plugins/ options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const optionsDefault = { | |
app: null, // Value set during configuration. | |
service: '/users', | |
path: 'authManagement', | |
emailField: 'email', | |
dialablePhoneField: 'dialablePhone', | |
passwordField: 'password', | |
longTokenLen: 15, | |
shortTokenLen: 6, | |
shortTokenDigits: true, | |
resetDelay: 1000 * 60 * 60 * 2, | |
delay: 1000 * 60 * 60 * 24 * 5, | |
identifyUserProps: ['email', 'dialablePhone'], | |
actionsNoAuth: [ | |
'resendVerifySignup', 'verifySignupLong', 'verifySignupShort', | |
'sendResetPwd', 'resetPwdLong', 'resetPwdShort', | |
], | |
ownAcctOnly: true, | |
plugins: null, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment