process_registration.naml

<override_macro name="process_registration">
    <n.catch_exception. id="save-block">
        <n.validate_registration_form/>
        <n.comment.>remove captcha code</n.comment.>

        <n.registration>
            <user_name><n.user_name_field.value/></user_name>
            <email><n.email_field.value/></email>
            <password><n.password_field.value/></password>
            <next_url><n.nextUrl_field.value/></next_url>
            <do>
                <n.send_registration_email
                    email="[n.email_field.value/]"
                    next_url="[n.nextUrl_field.value/]"
                    key="[n.key/]"
                />
                <n.redirect_to.registering_page_path/>
            </do>
        </n.registration>
    </n.catch_exception.>
</override_macro>