Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Unable to change Password View modes: 
User avatar
Member
Member
cbarton-mig - 5/6/2013 3:22:38 PM
   
Unable to change Password
Hi all,

I have a problem with the ChangePassword web part. I can successfully log in to Kentico but I can't change my password. When I go to "Edit My Profile > Change Password" and type in my current and desired passwords I get an error message saying: "Your existing password wasn't correct."

I am sure the password is correct though, I have not only tried copying and pasting but I also have checked through the background through a message in the Change Password.cs file (basically by examining the contents of "txtExistingPassword.Text").

The code that keeps failing is: "UserInfoProvider.IsUserPasswordDifferent(ui, txtExistingPassword.Text)". I'm wondering if there's an encryption setting I'm missing and hence the system is comparing different things? The system is configured to use SHA2 with Salt. I'm using Kentico version 7.0.28.

Thanks for the help!
Christian

User avatar
Kentico Support
Kentico Support
kentico_radekm - 5/10/2013 4:27:49 AM
   
RE:Unable to change Password
Hello.

I tried it on my KCMS 7.0 with the latest hotfix and it works fine. There were some bugs in KCMS 7.0 with password functionality, so I would definitely recommend applying the latest hotfix to be sure the problem is not connected to some of already fixed bugs.

On the latest code base 7.0.34 it works fine. Could you please test it?

Also, do you use any custom code or custom security handler in your project? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
cbarton-mig - 5/12/2013 12:45:22 PM
   
RE:Unable to change Password
Hi Radek,

Thanks for the reply.

I was running 7.0.28 so I did as you suggested and installed 7.0.35 (the latest I saw on the hotfixes list) and it fixed the password issue.

And just to close all questions, I didn't have any custom code related to security, it was all standard.

Thanks for the help!
Christian