diff --git a/packages/backend/src/graphql/mutations/reset-password.ee.ts b/packages/backend/src/graphql/mutations/reset-password.ee.ts index c8a350bc..d68fc55a 100644 --- a/packages/backend/src/graphql/mutations/reset-password.ee.ts +++ b/packages/backend/src/graphql/mutations/reset-password.ee.ts @@ -24,7 +24,7 @@ const resetPassword = async (_parent: unknown, params: Params) => { await user.resetPassword(password); - return; + return true; }; export default resetPassword; diff --git a/packages/backend/src/helpers/authentication.ts b/packages/backend/src/helpers/authentication.ts index c1368e0a..e746d452 100644 --- a/packages/backend/src/helpers/authentication.ts +++ b/packages/backend/src/helpers/authentication.ts @@ -31,6 +31,7 @@ const authentication = shield( login: allow, createUser: allow, forgotPassword: allow, + resetPassword: allow, }, }, {