sso_login.tt2 2.29 KB
Newer Older
1
<!-- sso_login.tt2 -->
2
[% IF subaction == 'requestemail' %]
3
4
5
6
7
8
9
    <p>
        [%|loc%]The mailing list server requires a working email address. Please provide your email address below.[%END%]
    </p>
    <p>
        <i>[%|loc%]Please note:[%END%]</i>
        [%|loc%]the email field may be pre-populated.  If it is, then your authentication server has supplied an email address it associates with you.  Whether you enter an address manually or accept the one provided, you will still need to confirm that this is a working email address by entering a confirmation password that will be sent to you.  Please press the "Send me a confirmation password" to continue to the confirmation step.[%END%]
    </p>
Luc Didry's avatar
Luc Didry committed
10
11
12
    <p>
        [%|loc%]A confirmation password will be sent to the address you supply, after pressing the button. This will take you to the next screen to confirm that your address is operational.[%END%]
    </p>
13

Luc Didry's avatar
Luc Didry committed
14
    <form action="[% path_cgi %]" method="post">
15
        <fieldset>
Luc Didry's avatar
Luc Didry committed
16
17
18
19
20
21
            <input type="hidden" name="previous_action" value="[% previous_action %]" />
            <input type="hidden" name="previous_list" value="[% previous_list %]" />
            <input type="hidden" name="subaction" value="validateemail" />
            <input type="hidden" name="action" value="sso_login" />
            <input type="hidden" name="nomenu" value="[% nomenu %]" />
            <input type="hidden" name="auth_service_name" value="[% server.key %]" />
22

Luc Didry's avatar
Luc Didry committed
23
24
25
26
27
28
29
30
31
32
33
            <label for="email">
                <strong>[%|loc%]Your e-mail address:[%END%]</strong>
                <br />
                [% IF init_email %]
                    [% email %]
                    <input id="email" type="text" name="email" value="[% init_email %]" />
                [% ELSE %]
                    <input id="email" type="text" name="email" value="" />
                [% END %]
            </label>&nbsp; &nbsp; &nbsp;
            <input type="submit" name="action_sso_login" value="[%|loc%]Send me a confirmation password[%END%]"/>
34
        </fieldset>
Luc Didry's avatar
Luc Didry committed
35
    </form>
36
[% ELSIF subaction == 'validateemail' %]
Luc Didry's avatar
Luc Didry committed
37
38
39
    <br />
    [%|loc(init_email)%]A confirmation password has been sent to your email address %1. Please check your email inbox for the message containing the confirmation link.[%END%]
    <br /><br />
40
[% END %]
41
<!-- end sso_login.tt2 -->