I have setup authen Moralis with provider web3auth. Login is OK but no password in filed passowrd.
How to can I set password after authen with Moralis ?
I use Nextjs.
My code authen:
Thanks
I have setup authen Moralis with provider web3auth. Login is OK but no password in filed passowrd.
How to can I set password after authen with Moralis ?
I use Nextjs.
My code authen:
Thanks
Hey @vampiregrodon,
You can simply use the useMoralis
hook to get the user
object.
const { user } = useMoralis();
Then, set the password and save.
user.set("password", "my_new_password");
await user.save();
Have a try on this~
OH awesome, I got it.
and I have more question
Thanks Bro.
Great!
I’ll get to you there~
I’ll have this one open in case you found another bug
Thank you Sir for your help
No problem! Happy to help out
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.