Fix Fatal error when changing password when password_policy_history is enabled

Created on 2 August 2024, over 1 year ago
Updated 21 August 2024, about 1 year ago

Problem/Motivation

A changed in 📌 Fix Validate pipeline Fixed - specifically this change https://git.drupalcode.org/project/password_policy/-/commit/c02ec557f44d... causes a fatal error.

Input bag will never return an array - it throws an exception if the param value is a not a scalar.

This exception is not caught, which means users get a 500 error and can not change their password.

Steps to reproduce

  1. Enabled password_policy_history
  2. Either create/edit user
  3. Change a password through the UI
  4. Get a fatal error
🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇳🇿New Zealand ericgsmith

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024