# User password change

**URL:** <https://forum.getkirby.com/t/user-password-change/29348>\
**Category:** Questions\
**Tags:** v3\
**Created:** [August 22, 2023, 6:42pm UTC](https://forum.getkirby.com/t/user-password-change/29348 "2023-08-22T18:42:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loudon](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@Loudon](https://forum.getkirby.com/u/Loudon)\
**Post date:** [August 22, 2023, 6:42pm UTC](https://forum.getkirby.com/t/user-password-change/29348/1 "2023-08-22T18:42:28Z")

</div>

I have a website where users can register with their details after verifying their email address.

These users do not have panel access. Is there any way I can allow them to change their password?

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [August 22, 2023, 7:27pm UTC](https://forum.getkirby.com/t/user-password-change/29348/2 "2023-08-22T19:27:35Z")

</div>

You can create a page in the site frontend with a form that calls the `$kirby->user()->changePassword($newPassword)` method.

---

<div class="post-metadata">

**Author:** ![Loudon](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@Loudon](https://forum.getkirby.com/u/Loudon)\
**Post date:** [August 25, 2023, 9:11am UTC](https://forum.getkirby.com/t/user-password-change/29348/3 "2023-08-25T09:11:08Z")

</div>

> [@lukasbestle](#):
>
> `$kirby->user()->changePassword($newPassword)`

Thank you, that worked a treat.

---

<div class="post-metadata">

**Author:** ![marflow](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marflow/32/5948_2.png) [@marflow](https://forum.getkirby.com/u/marflow)\
**Post date:** [March 14, 2025, 12:43pm UTC](https://forum.getkirby.com/t/user-password-change/29348/4 "2025-03-14T12:43:51Z")

</div>

Also trying to allow pre-registered users to update their password from the frontend, but could not find a recipe or even the method in the docs. Thanks a lot for some pointers where to look / which steps are needed to use the built-in Kirby function.

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [March 15, 2025, 9:45pm UTC](https://forum.getkirby.com/t/user-password-change/29348/5 "2025-03-15T21:45:26Z")

</div>

We don’t have a ready-to-use recipe for changing a password from the site frontend, however you can use the [user registration recipe](https://getkirby.com/docs/cookbook/forms/user-registration) as a template and adapt it to call the `changePassword()` method.

The method is documented in the reference: [$user-\>changePassword() | Kirby CMS](https://getkirby.com/docs/reference/objects/cms/user/change-password)

---

<div class="post-metadata">

**Author:** ![marflow](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marflow/32/5948_2.png) [@marflow](https://forum.getkirby.com/u/marflow)\
**Post date:** [April 1, 2025, 11:23am UTC](https://forum.getkirby.com/t/user-password-change/29348/6 "2025-04-01T11:23:17Z")

</div>

… years later 😄 – thank you, solved!
