fix: make resetMutation public
This commit is contained in:
@@ -24,7 +24,7 @@ const resetPassword = async (_parent: unknown, params: Params) => {
|
|||||||
|
|
||||||
await user.resetPassword(password);
|
await user.resetPassword(password);
|
||||||
|
|
||||||
return;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default resetPassword;
|
export default resetPassword;
|
||||||
|
@@ -31,6 +31,7 @@ const authentication = shield(
|
|||||||
login: allow,
|
login: allow,
|
||||||
createUser: allow,
|
createUser: allow,
|
||||||
forgotPassword: allow,
|
forgotPassword: allow,
|
||||||
|
resetPassword: allow,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user