"getjohn/module-passwordcheck"
* = in production please use the --keep-generated
option
- Unzip the zip file in
app/code/GetJohn
- Enable the module by running
php bin/magento module:enable GetJohn_PasswordCheck
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- Make the module available in a composer repository for example:
- private repository
repo.magento.com
- public repository
packagist.org
- public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
- Install the module composer by running
composer require getjohn/module-passwordcheck
- enable the module by running
php bin/magento module:enable GetJohn_PasswordCheck
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
-
Prevent Re-using Last X Passwords (customer/password/prevent_reusing_password)
-
Enforce Password Reset Every X Days (customer/password/enforce_password_reset)
-
X Days (customer/password/x_days)
-
Plugin
- beforeExecute - Magento\Customer\Controller\Account\EditPost > GetJohn\PasswordCheck\Plugin\Magento\Customer\Controller\Account\EditPost
-
Plugin
- afterExecute - Magento\Customer\Controller\Account\EditPost > GetJohn\PasswordCheck\Plugin\Magento\Customer\Controller\Account\EditPost
-
Plugin
- beforeExecute - Magento\Customer\Controller\Account\ResetPasswordPost > GetJohn\PasswordCheck\Plugin\Magento\Customer\Controller\Account\ResetPasswordPost
-
Plugin
- afterExecute - Magento\Customer\Controller\Account\ResetPasswordPost > GetJohn\PasswordCheck\Plugin\Magento\Customer\Controller\Account\ResetPasswordPost
-
Plugin
- afterAuthenticate - Magento\Customer\Model\AccountManagement > GetJohn\PasswordCheck\Plugin\Magento\Customer\Model\AccountManagement
-
Plugin
- beforeChangePassword - Magento\Customer\Model\AccountManagement > GetJohn\PasswordCheck\Plugin\Magento\Customer\Model\AccountManagement
-
Plugin
- beforeResetPassword - Magento\Customer\Model\AccountManagement > GetJohn\PasswordCheck\Plugin\Magento\Customer\Model\AccountManagement
-
Customer - Password History (password_history)
-
Customer - Password Last Changed Date (password_last_changed_date)