userfront-core icon indicating copy to clipboard operation
userfront-core copied to clipboard

Add options support for login method

Open tyrw opened this issue 3 years ago • 0 comments

We recently added the options.noResetEmail flag to the API here, and it would be good to have that passed through by Core JS if present:

Userfront.login({
  method: "password",
  password: "brandNewPassw0rd",
  emailOrUsername: "[email protected]",
  options: {
    noResetEmail: true
  }
})

Instead of doing one-off for noResetEmail, we should pass through the options object as-is, and let the API handle it.

Post-deploy

  • [ ] Notify admin once done: https://app.chatwoot.com/app/accounts/3027/conversations/220

tyrw avatar May 23 '22 20:05 tyrw