How to use the leancloud-storage/dist/av.User function in leancloud-storage

To help you get started, we’ve selected a few leancloud-storage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kylewh / NoMess / src / api / index.js View on Github external
export const signUp = (username, password) => {
  const newUser = new AV.User()
  newUser.setUsername(username)
  newUser.setPassword(password)
  return newUser.signUp()
}