feat: refactor forgot password mutation with the REST API endpoint

This commit is contained in:
kasia.oczkowska
2024-07-17 13:23:45 +01:00
parent 778559d537
commit 46ec9b5229
8 changed files with 39 additions and 70 deletions

View File

@@ -53,7 +53,6 @@ const isAuthenticatedRule = rule()(isAuthenticated);
export const authenticationRules = {
Mutation: {
'*': isAuthenticatedRule,
forgotPassword: allow,
login: allow,
registerUser: allow,
resetPassword: allow,