Skip to content

As an admin I'm unable to change the password of a different user #10427

@kevinansfield

Description

@kevinansfield

Issue Summary

When logged in as an Administrator or Owner and viewing other users there is a form to change their password. This has stopped working, it now shows this error when submitting the form:

Validation (FieldIsRequired) failed for ["oldPassword"]

To Reproduce

  1. Ensure your site has more than 1 user
  2. Log in as the Administrator/Owner account
  3. Open another user via the Team screen
  4. Fill in the change password form and submit
  5. Note the error message

Administrators/Owners used to be allowed to send PUT /users/password/ requests without the oldPassword field being present.

Technical details:

  • Ghost Version: 2.12.0
  • Database: MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects:serverIssues relating to the server or core of Ghostbug[triage] something behaving unexpectedlyhelp wanted[triage] Ideal issues for contributors to help with

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions