From 324b52adb3d56a384ca8c689143aa7577ae9ab06 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 11 Jun 2024 12:00:58 -0700 Subject: [PATCH] Removed token from recovery request response payload --- Server/controllers/authController.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Server/controllers/authController.js b/Server/controllers/authController.js index 8d66a36df..8cad2ad59 100644 --- a/Server/controllers/authController.js +++ b/Server/controllers/authController.js @@ -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