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