Merge branch 'feature/forgot-password' into 'master'
Feature/forgot password Closes #44 See merge request framasoft/mobilizon!43
This commit is contained in:
@@ -10,3 +10,26 @@ mutation Login($email: String!, $password: String!) {
|
||||
},
|
||||
}
|
||||
`;
|
||||
|
||||
export const SEND_RESET_PASSWORD = gql`
|
||||
mutation SendResetPassword($email: String!) {
|
||||
sendResetPassword(email: $email)
|
||||
}
|
||||
`;
|
||||
|
||||
export const RESET_PASSWORD = gql`
|
||||
mutation ResetPassword($token: String!, $password: String!) {
|
||||
resetPassword(token: $token, password: $password) {
|
||||
token,
|
||||
user {
|
||||
id,
|
||||
}
|
||||
},
|
||||
}
|
||||
`;
|
||||
|
||||
export const RESEND_CONFIRMATION_EMAIL = gql`
|
||||
mutation ResendConfirmationEmail($email: String!) {
|
||||
resendConfirmationEmail(email: $email)
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user