I have an account page for all my users, however i'm running into a small issue with being able to update passwords / emails on the frontend. Any advice on how to do this? I read that updating either of those fields would require checking and verifying the change in your email.


  • Would you mind using PHP? Jul 30, 2018 at 17:06
  • I don't mind using PHP, craft just has terrible documentation and almost every article i find is using craft v2.
    – Kevin Love
    Jul 30, 2018 at 17:11

1 Answer 1


A user changing sensitive fields like passwords and email addresses requires a "elevated session" to do so, which requires them to enter their current password.

You can see the template code to do that here for both Craft 2 and 3: https://craftcms.stackexchange.com/a/4715/57

You can configure the duration of the elevated session with the elevatedSessionDuration config setting.

  • So i tried the above, and no luck, It will update my password but not my email,
    – Kevin Love
    Jul 31, 2018 at 17:34
  • Guessing you've got user email validation enabled. If your email settings are setup correctly an email should get sent to the new email address. Once that is clicked, the email address will change for the user.
    – Brad Bell
    Jul 31, 2018 at 21:27
  • I set up the form as shown in the link you sent, changed the email and nothing happens. i receive no email regarding the change. What email settings should be modified ?
    – Kevin Love
    Aug 1, 2018 at 15:45
  • Under Settings->Email in the Control Panel. See craftcms.com/support/why-doesnt-craft-send-emails and craftcms.com/support/…
    – Brad Bell
    Aug 1, 2018 at 22:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.