process_registration

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "process_registration".
... in process_registration.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<override_macro name="process_registration">
    <n.catch_exception. id="save-block">
        <n.validate_registration_form/>
       
        <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>
Overrides default macro
... in register.naml
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<macro name="process_registration">
    <n.catch_exception. id="save-block">
        <n.validate_registration_form/>
        <n.check_captcha/>
 
        <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.>
</macro>