Better mimc the user_profile page's submit handler

Created on 20 March 2019, over 6 years ago
Updated 21 July 2025, about 2 months ago

Other modules, such as Force Password Change β†’ , add additional fields to both the `$account` and the form to trigger their own changes. The `change_pwd_page_form_submit()` function creates an `$edit` array with only the `pass` field, and effectively strips out these other fields.

The submit handler should better mimic the `user_profile_form_submit()` handler, or call it directly, to preserve core's user profile editing semantics.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States John Franklin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024