Removed token from recovery request response payload
This commit is contained in:
1 parent
105852aed2
commit
324b52adb3
1 file changed
-1
@@ -173,7 +173,6 @@ const recoveryRequestController = async (req, res, next) => {
|
||||
return res.status(200).json({
|
||||
success: true,
|
||||
msg: "Created recovery token",
|
||||
data: recoveryToken,
|
||||
});
|
||||
}
|
||||
// TODO Email token to user
|
||||
|
||||
Reference in new issue
Block a user