Allow the ignored routes in the PasswordPolicyEventSubscriber to be alterable

Created on 9 October 2023, over 1 year ago

Problem/Motivation

I have a situation where I don't want password_policy to redirect a user when on a specific page.

Currently PasswordPolicyEventSubscriber has an array if routes that are ignored when doing the redirect.

Proposed resolution

Add an alter hook to let developers alter the $routes array in checkForUserPasswordExpiration()

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loze Los Angeles

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