userfront-core
userfront-core copied to clipboard
Add options support for login method
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