Search by

se7enxweb / eabresetusersmail

7x

There is no license information available for the latest version (v0.0.0.1) of this package.

CLI script to reset email address of all eZ Publish users Official Community Project: usable with Exponential 6 after review; not yet in the App Store.

v0.0.0.1 2026-12-03 19:04 UTC

This package is auto-updated.

Last update: 2026-12-03 19:04:36 UTC


README

Synopsis

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.

Disclaimer

This extension is provided as is, completely free of use and charge.

Copyright

Copyright Enterprise AB Ltd (c) 2012-2014 http://eab.uk

License

GPL 2.0

Contact

Andy Caiger

Installation

  1. Copy the eabresetusersmail folder to the extension folder or use git:

     cd extension
     git clone https://github.com/eab-dev/eabresetusersmail.git
    
  2. Edit settings/override/site.ini.append.php

  3. Under [ExtensionSettings] add:

     ActiveExtensions[]=eabresetusersmail
    
  4. Clear the cache:

     bin/php/ezcache.php --clear-all
    

Usage

  1. To change the default email address:
  • Copy extension/settings/override/resetusersmail.ini.append.php to settings/override/resetusersmail.ini.append.php and edit it.

  • Change the value of ResetMailAddress.

  • After saving extension/settings/override/resetusersmail.ini.append.php clear the cache:

          bin/php/ezcache.php --clear-all
    
  1. To reset all users email addresses to the same one, run:

     php bin/php/ezexec.php extension/eabresetusersmail/scripts/reset_users_mail.php
    
  2. To reset a user's password, run:

     php extension/eabresetusersmail/scripts/reset_password.php --user=username --password=newpassword
    

Official status: Official Community Project for Exponential 6. Usable with Exponential 6 after review; not yet in the App Store.