You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding to issue in updating profile details in AccountProfilePage (password, email) already declared by some users such us : #19604 , #6226 , #10730
To resolve the issue saveuserprofile error: invalid password I suggest this solution :
For server version of RocketChat append xe method that is exist in Rocket.Chat/programs/web.browser/dynamic/client/account/AccountProfilePage.js file with the following code :
and add the following dependencies H, I, R to the last method like this [G, J, K, z, V, we, re, ie, _e, ue, he, me, P, ke, ye, S, b, ve, ge, O, Ce, Ae, pe, H, I, R])
For GitHub repository version of RocketChat append onSave method that is exist in Rocket.Chat/client/views/account/AccountProfilePage.js file with the following code :
and add the following dependencies closeModal,localPassword,setModal to the last method like this
[
saveFn,
allowEmailChange,
allowPasswordChange,
allowRealNameChange,
allowUserStatusMessageChange,
bio,
canChangeUsername,
email,
password,
realname,
statusText,
username,
user,
updateAvatar,
handleAvatar,
dispatchToastMessage,
t,
customFields,
statusType,
commit,
nickname,
handlePassword,
handleConfirmationPassword, closeModal,
localPassword,
setModal
]
Regarding to issue in updating profile details in AccountProfilePage (password, email) already declared by some users such us : #19604 , #6226 , #10730
To resolve the issue saveuserprofile error: invalid password I suggest this solution :
and add the following dependencies H, I, R to the last method like this [G, J, K, z, V, we, re, ie, _e, ue, he, me, P, ke, ye, S, b, ve, ge, O, Ce, Ae, pe, H, I, R])
and add the following dependencies closeModal,localPassword,setModal to the last method like this
[
saveFn,
allowEmailChange,
allowPasswordChange,
allowRealNameChange,
allowUserStatusMessageChange,
bio,
canChangeUsername,
email,
password,
realname,
statusText,
username,
user,
updateAvatar,
handleAvatar,
dispatchToastMessage,
t,
customFields,
statusType,
commit,
nickname,
handlePassword,
handleConfirmationPassword,
closeModal,
localPassword,
setModal
]
Modified files :
AccountProfilePage.zip
AccountProfilePage.zip
The text was updated successfully, but these errors were encountered: