Closed Darpan-favfly closed 1 year ago
Hi @Darpan-favfly you can build your own forgot password system.
You have the user schema with the password of each user stored in your sanity project, the only requirement are to hash the passwords with argon2 when you save the new password.
For example too simple path:
*[_type == 'user' && email == $email][0]
I can't put things like this in the lib, because they don't make sense. this lib just store and finds data, you are open to do whatever you want with it.
How to implement Forgot Password option in my next-js project. I can't find any solution in readme docs or full example please help me to solve this... I am using Email, Password authentication in my project
Please give me some resources