定制 vendic/magento2-admin-password-policy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vendic/magento2-admin-password-policy

最新稳定版本:1.0.7

Composer 安装命令:

composer require vendic/magento2-admin-password-policy

包简介

Implementation of policy for admin passwords.

README 文档

README

This module adds additional rules for admin passwords. It ensures that the following criteria are met for admin passwords:

  • Password does not contain first name, last name, username or email of the user.
  • Password does not contain 'guest', 'admin', or 'password'.
  • Password has at least one lowercase letter.
  • Password has at least one uppercase letter.
  • Password has at least one special character.

Additional rules can be added through di.xml to the rules constructor parameter of the following class: Vendic\AdminPasswordPolicy\Plugin\ValidatePassword Additional forbidden words can be added through di.xml to the forbiddenWords constructor parameter of the following class: Vendic\AdminPasswordPolicy\Rules\DoesNotContain

Users who have not logged in the past 90 days will automatically be set on inactive by a cron job that runs every midnight. It is possible to exclude users from being marked as inactive via configuration.

Installation

composer require vendic/magento2-admin-password-policy

Configuration

None at this moment. Feel free to create a pull request if you need specific settings. Check the issues for tickets that need help.

Compatibility

License

MIT

Authors

统计信息

  • 总下载量: 135
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-28