Merge pull request #2999 from bluewave-labs/feat-allow-admin-change-passwords

Add superadmin password reset functionality for team members
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-10-06 12:52:46 -07:00
commit 7af7647bbf
9 files changed
+238 -13

No files matched your search

+9
View File
@@ -1136,6 +1136,15 @@ class NetworkService {
},
});
}
async changePasswordByAdmin(config) {
const { userId, passwordForm } = config;
return this.axiosInstance.put(`auth/users/${userId}/password`, passwordForm, {
headers: {
"Content-Type": "application/json",
},
});
}
}
export default NetworkService;