feat: use create access token api endpoint instead of login mutation

This commit is contained in:
kasia.oczkowska
2024-07-18 13:05:59 +01:00
parent f63cc80383
commit d051275e54
9 changed files with 66 additions and 63 deletions

View File

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