Moralis.Userclass. This class extends
Moralis.Objectwith some extra attributes:
Moralis.User.signUp(username, password)to create a new user:
bcrypt. We never store passwords in plaintext, nor will we ever transmit passwords back to the client in plaintext.
signUpmethod, not the
Moralis.User's created with a username should always be created using the
signUpmethod. Subsequent updates to a user can be done by calling
Moralis.Userwill work as normal. We’ll go over how this is handled in the reset password section.
emailVerifiedkey to the
Moralis.Userobject. When a
emailVerifiedis set to
Moralisthen emails the user a link which will set
emailVerifiedstates to consider:
true- the user confirmed his or her email address by clicking on the link
Moralis.Userscan never have a
truevalue when the user account is first created.
false- at the time the
Moralis.Userobject was last refreshed, the user had not confirmed his or her email address. If
false, consider calling
Moralis.Userwas created when email verification was off or the
Moralis.Userdoes not have an