generated from pascalmartineau/wp-skeleton
refactor: use onServerResponse for auth instead of server api
This commit is contained in:
10
wp-content/themes/ccat/app/graphql/login.gql
Normal file
10
wp-content/themes/ccat/app/graphql/login.gql
Normal file
@@ -0,0 +1,10 @@
|
||||
mutation login($email: String!, $password: String!) {
|
||||
login(input: { username: $email, password: $password }) {
|
||||
authToken
|
||||
refreshToken
|
||||
user {
|
||||
id
|
||||
email
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user