MasterPassword for Magento Store Developers

MasterPassword offers events that allow Store Developers to interact with the Customer Login Process.

Customer Login Validate

These events are being introduced by MasterPassword during a customer login validation.


Password validation upon attempt to login:


Validation on creating a new Customer Account:


Models passed to Observer

customer - Current Customer object

Code Example

To add your own Observer to these Events, you may use the following code examples as guideline:

Your Extensions [config.xml]


Your Extensions [Observer.php]

class Your_Extension_Model_Observer
   * Event before processing download
  public function eventLoginProcessBefore($observer)
  	$customer = $observer->getEvent()->getCustomer();
  	$errors = $customer->getErrors();
  	// Do your own stuff with it here...