function validation($data, $files) {

        $errors = parent::validation($data, $files);
        $errors += core_login_validate_forgot_password_data($data);

        return $errors;
    }
function validation($data, $files) {

        $errors = parent::validation($data, $files);
        $errors += core_login_validate_forgot_password_data($data);

        return $errors;
    }
function validation ( $ data , $ files ) { $ errors = parent :: validation ( $ data , $ files ) ; $ errors += core_login_validate_forgot_password_data ( $ data ) ; return $ errors ; }
Validate user input from the forgot password form.
@param array $data array of submitted form fields.
@param array $files submitted with the form.
@return array errors occuring during validation.
Validate user input from the forgot password form .