We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

Why is a user unable to update their email address in My Account?

In case your users are trying to update their email address via My Account, but are receiving an error message Current password is not valid when submitting the change, please proceed as described below.

This error occurs after recent Identity Management updates for clients using passwordless login and registration. The default version of the Identity Management profile in My Account contains the correct and updated code.

In your Piano dashboard under ManageTemplates locate the Identity Management profile in My Account template and replace the showChangePassword directive with the showChangePasswordPasswordless​ directive.

Please replace this code:

HTML
<div class="tp-form form-horizontal" showChangePassword>
  <div class="control-group">
     <label for="current_password" class="control-label"><t>Current Password</t></label> 
    <div class="controls">
      <input type="password" fieldProfileCurrentPassword="" id="current_password" placeholder="{{ 'Current password' | t }}">
     </div> 
   </div>
</div>

With the following:

HTML
<div class="tp-form form-horizontal" showChangePasswordPasswordless>
  <div class="control-group">
     <label for="current_password" class="control-label"><t>Current Password</t></label> 
    <div class="controls">
     <input type="password" fieldProfileCurrentPassword="" id="current_password" placeholder="{{ 'Current password' | t }}"> 
    </div>
 </div> 
</div>

Last updated: