Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
eabresetusersmail | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
This extension provides a command line script which will reset all user emails to one email address.
This is useful when copying a live website to a test environment and you don't want the
users to receive notification emails etc from the test system.
It also provides a command line script to reset a user's password.
This extension is provided as is, completely free of use and charge.
Copyright Enterprise AB Ltd (c) 2012-2014 http://eab.uk
GPL 2.0
Copy the eabresetusersmail folder to the extension folder or use git:
cd extension
git clone https://github.com/eab-dev/eabresetusersmail.git
Under [ExtensionSettings] add:
ActiveExtensions[]=eabresetusersmail
Clear the cache:
bin/php/ezcache.php --clear-all
After saving extension/settings/override/resetusersmail.ini.append.php clear the cache:
bin/php/ezcache.php --clear-all
To reset all users email addresses to the same one, run:
php bin/php/ezexec.php extension/eabresetusersmail/scripts/reset_users_mail.php
To reset a user's password, run:
php extension/eabresetusersmail/scripts/reset_password.php --user=username --password=newpassword