security: remove obsolete CRM password update functionality

This commit is contained in:
2026-11-06 09:14:54 +00:00
parent e1f8fb5c96
commit f7479b72b9
9 changed files with 0 additions and 486 deletions
-14
View File
@@ -22,20 +22,6 @@ export const getLogin = (emailAddress, pwd) => {
});
};
export const updatePassword = (contactId, newpassword) => {
var queryUrl = "/api/endpoint/updateaccount_api?contactId=" + contactId;
var data = { "pinswg_custom_password": newpassword };
var config = {
method: "post",
url: queryUrl,
data: data
};
return requestJson(config).catch((error) => {
consoleLogger(error);
});
};
export const updateAccount = async (contactId, updateBody, ssr) => {
var queryUrl =
(ssr ? BASE_URL : "") +
-2
View File
@@ -1,7 +1,6 @@
import {
getPersonalAccount,
getLogin,
updatePassword,
updateAccount,
createAccount,
getEmailAccountCheck,
@@ -13,7 +12,6 @@ import {
export {
getPersonalAccount,
getLogin,
updatePassword,
updateAccount,
createAccount,
getEmailAccountCheck,