Merge branch 'feature/forgot-password' into 'master'

Feature/forgot password

Closes #44

See merge request framasoft/mobilizon!43
This commit is contained in:
Thomas Citharel
2019-01-14 10:43:18 +01:00
10 changed files with 124 additions and 70 deletions

View File

@@ -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)
}
`;