-
Am trying to use form props in my forget password auth page but I get the error email is not defined. what is wrong with my code? How can I access the value of email
|
Beta Was this translation helpful? Give feedback.
Answered by
BatuhanW
Nov 20, 2023
Replies: 1 comment 5 replies
-
Hello @van-vince please see the related page on our documentation. You don't need to write your logic inside onSubmit. It's better to handle making request to your API in your auth provider. https://refine.dev/docs/api-reference/mui/components/mui-auth-page/#forgotpassword |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @van-vince You don't need to manually send notification here. If you return
error
object, it will show notification automatically. Please check this section of the documentation: https://refine.dev/docs/api-reference/core/providers/auth-provider/#forgotpasswordIn this page, search for
How can I customize the error message?