Skip to content

Not compatible with EE password lifetime feature #9

@null93

Description

@null93

EE has a password lifetime feature that forces uses to reset their password every configured number of days (90 days default). When the password expires, Magento redirects users to the "My Account" page and forces them to reset their password. Currently this plugin forces a redirect to the verification page.

Some possible solutions would be to whitelist the [backend_path]/system_account/index and [backend_path]/system_account/save routes. This means that users will be able to change their passwords even if they do not authenticate through 2fa.

Another possible solution is to try to run before the enterprise_pci event in the Enterprise_Pci module. This way we still authenticate and only after authentication, we can force to change a user password. This is probably ideal because we are not while-listing routes. An additional challenge that this method poses is that this implementation needs to work for CE and EE versions of magento. Since the Enterprise_Pci module is not included in CE, and therefore the password lifetime feature is not included in CE, it will be a challenge to get it working for both in one module without copying code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions