We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5278d13 commit f06b772Copy full SHA for f06b772
backend/typescript/graphql/index.ts
@@ -91,8 +91,8 @@ const graphQLMiddlewares = {
91
updateUser: authorizedByAdmin(),
92
deleteUserById: authorizedByAdmin(),
93
deleteUserByEmail: authorizedByAdmin(),
94
- logout: isAuthorizedByUserId("userId"),
95
- resetPassword: isAuthorizedByEmail("email"),
+ logout: isAuthorizedByUserId(),
+ resetPassword: isAuthorizedByEmail(),
96
sendSignInLink: authorizedByAllRoles(),
97
},
98
};
0 commit comments