Skip to content

Instantly share code, notes, and snippets.

@eddyystop
Last active December 23, 2018 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eddyystop/3528083f2f81b34b78c198f8fe2187f6 to your computer and use it in GitHub Desktop.
Save eddyystop/3528083f2f81b34b78c198f8fe2187f6 to your computer and use it in GitHub Desktop.
a-l-m / plugins/ options
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