Rev 13021 | Rev 13142 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13021 | Rev 13050 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | !if $idp_method=php |
16 | !if $idp_method=php |
17 | !set login_method=$idp_method |
17 | !set login_method=$idp_method |
18 | !endif |
18 | !endif |
19 | up_external_auth=!lowercase $user_auth |
19 | up_external_auth=!lowercase $user_auth |
20 | !if $new_user!=no |
20 | !if $new_user!=no |
21 | !read adm/class/hashlogin |
21 | !read adm/class/hashlogin $user_auth,$wims_superclass,$login_method |
22 | !endif |
22 | !endif |
23 | !endif |
23 | !endif |
24 | 24 | ||
25 |
|
25 | !if $idp_method isitemof $idp_method_list |
26 |
|
26 | !read adm/class/idp_$idp_method $user_auth |
27 |
|
27 | !!! firstname=$up_firstname |
28 |
|
28 | !!! lastname=$up_lastname |
29 |
|
29 | !!! email=$up_email |
30 |
|
30 | !endif |
31 | 31 | ||
32 | !if $login=$empty or $lastname=$empty or $firstname=$empty or \ |
32 | !if $login=$empty or $lastname=$empty or $firstname=$empty or \ |
33 | ($new_user=yes and $pass=$empty) |
33 | ($new_user=yes and $pass=$empty) |
34 | login= |
34 | login= |
35 | error=empty_data |
35 | error=empty_data |