Front end user profile: update password Typical scenario: users log in on the front-end and have a profile page where they can update their info, including changing their current password.

I have referenced this article from 2014 but it's not working for me; maybe it's outdated by now?

Is it possible to change a user&#39;s password in the front-end?

From that article I get:


User needs to be logged in
User needs to submit their current password (input name="password")
User needs to add a new password (input name="newPassword")


I've done all of this in my code and it does not work. For simplicity's sake, I've even copied and pasted the code from the link posted above but it does not work. I've created a fake user called "Mister Test" with a password of "purple"; if I try to change the password on the front end to something like "test123", it does not redirect to my success url and does not change the password.

I don't know what else to do. Not much coming up in google searches. My original code is below:

&lt;form method="post" accept-charset="UTF-8"&gt;
    {{ getCsrfInput() }}
    &lt;input type="hidden" name="action" value="users/saveUser"&gt;
    &lt;input type="hidden" name="redirect" value="/"&gt;
    {# redirecting to homepage just for testing #}
    &lt;input type="hidden" name="userId" value="{{ currentUser.id }}"&gt;


    &lt;label for="currentPassword"&gt;{{ "Current password"|t }}&lt;/label&gt;
    &lt;input type="password" name="password" id="currentPassword"&gt;


    &lt;label for="newPassword"&gt;{{ "New password"|t }}&lt;/label&gt;
    &lt;input type="password" name="newPassword" id="newPassword"&gt;


    &lt;button class="btn" type="submit"&gt;{{ "Save"|t }}&lt;/button&gt;
&lt;/form&gt;
Sounds like it might be a form submission issue rather than anything related to password /profile updates. I ran into a similar issue a while ago and resolved it by disabling Suhosin on my server. May want to give that a try.