user/plugins/login/login.php
/**
     * Process a registration form. Handles the following actions:
     *
     * - register_user: registers a user
     *
     * @param Event $event
     */
Process a registration form. Handles the following actions:
- register_user: registers a user

@param Event $event
Process a registration form . Handles the following actions : - register_user : registers a user @param Event $event
public function onFormProcessed(Event $event)
    {
        $form = $event['form'];
        $action = $event['action'];
        switch ($action) {
            case 'register_user':
                $this->processUserRegistration($form, $event);
                break;
        }
    }
public function onFormProcessed ( Event $ event ) { $ form = $ event [ 'form' ] ; $ action = $ event [ 'action' ] ; switch ( $ action ) { case 'register_user' : $ this -> processUserRegistration ( $ form , $ event ) ; break ; } }
Process a registration form.
Process a registration form .