Update resources/TerritoryManagers/TerritoryManagerController.js
This commit is contained in:
parent
ce19f6c5c6
commit
50fe2b5827
@ -622,7 +622,7 @@ export const ResetPassword = async (req, res) => {
|
|||||||
password.digits,
|
password.digits,
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
// console.log(newPassword);
|
console.log(newPassword);
|
||||||
// Update the territory manager's password
|
// Update the territory manager's password
|
||||||
territorymanager.password = newPassword;
|
territorymanager.password = newPassword;
|
||||||
await territorymanager.save();
|
await territorymanager.save();
|
||||||
|
Loading…
Reference in New Issue
Block a user