Add OTP login page and auth guard for client cabinet
This commit is contained in:
12
graphql/operations/auth/verify-login-code.graphql
Normal file
12
graphql/operations/auth/verify-login-code.graphql
Normal file
@@ -0,0 +1,12 @@
|
||||
mutation VerifyLoginCode($input: VerifyLoginCodeInput!) {
|
||||
verifyLoginCode(input: $input) {
|
||||
accessToken
|
||||
expiresAt
|
||||
user {
|
||||
id
|
||||
email
|
||||
fullName
|
||||
role
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user