(req, res)
| 91 | }; |
| 92 | |
| 93 | const resetPassword = async (req, res) => { |
| 94 | const { password, password2, token, email } = req.body; |
| 95 | |
| 96 | await authService.resetPassword(password, password2, token, email); |
| 97 | |
| 98 | res.json({ |
| 99 | status: "OK", |
| 100 | message: "Password reset. Please login with your new password.", |
| 101 | }); |
| 102 | }; |
| 103 | |
| 104 | module.exports = { |
| 105 | createAccount, |
nothing calls this directly
no test coverage detected