hi @channel! I activated `email-password` integrat...
# prisma-whats-new
s
hi @channel! I activated
email-password
integration and I would like to insert users using graphcool console/playground. Is it possible? The reason is that my application is used internally from my house and no one can signup to it.
m
@stearm sure - you need to call the signup resolver you should have just setup.
Copy code
mutation signupUser($name: String!, $email: String!, $password: String!) {
    signupUser(name: $name, email: $email, password: $password) {
      id
      token
    }
  }
or something more like:
Copy code
mutation signupUser {
    signupUser(name: "stearm", email: "<mailto:stearm@live.com|stearm@live.com>", password: "password") {
      id
      token
    }
  }
s
cool, and signupUser will encrypt my password and store the hash to database right?
yes it should hash it before it goes to the db
s
perfect, trying it 😄
m
@stearm are you using the online GUI? not sure if it will work with that but give it a go
s
@max it works! many thanks 🙂 🙂
👍 1
🦜 1
i just added name to template mutation code