Metamask with username and password

Hello,
We had tried to log in with wallet using moralis we were success in saving data to the database but now we need to store data in user table with the metamask address, username and password.
It will be great if someone help us out from this…

https://docs.moralis.io/moralis-server/users
Not really sure what you want but:

After
var user = await Moralis.User.current();

you can simple do;

this:
user.set("age",17)

then:

user.save();

this code simple stores the age of the user in the database

4 Likes

Thanks for your precious reply