espresso
BABetter Auth
•Created by espresso on 3/5/2025 in #bug-reports
`auth.api.forgotPassword` not throwing error
For this configuration:
If you pass an email address to
auth.api.forgotPassword
that does not exist in the databse, BetterAuth will return {status: true}
and will not throw an error. There is therefore no way to catch this error and display something to the user without making more DB requests.
1 replies