feat: verify + activate + deactivate user from admin

This commit is contained in:
NGPixel
2020-01-02 14:19:02 -05:00
parent 689313dca5
commit 661b6044fa
7 changed files with 614 additions and 407 deletions

View File

@@ -1,12 +0,0 @@
mutation ($id: Int!) {
users {
delete(id: $id) {
responseResult {
succeeded
errorCode
slug
message
}
}
}
}

View File

@@ -1,12 +0,0 @@
mutation ($id: Int!, $email: String, $name: String, $newPassword: String, $groups: [Int], $location: String, $jobTitle: String, $timezone: String) {
users {
update(id: $id, email: $email, name: $name, newPassword: $newPassword, groups: $groups, location: $location, jobTitle: $jobTitle, timezone: $timezone) {
responseResult {
succeeded
errorCode
slug
message
}
}
}
}