Rev 2217 | Rev 5136 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2217 | Rev 5125 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | bad= |
1 | bad= |
- | 2 | ||
2 | !if $pass!=$empty and $pass notsametext $pass2 |
3 | !if $pass!=$empty and $pass notsametext $pass2 |
3 | login= |
4 | login= |
4 | error=pass_discord |
5 | error=pass_discord |
5 | !exit |
6 | !exit |
- | 7 | !endif |
|
- | 8 | ||
- | 9 | !if $auth_method isitemof $auth_method_list |
|
- | 10 | !if $idp_method=ldap |
|
- | 11 | !read adm/class/initldap |
|
- | 12 | !if $ldap_login!=$empty |
|
- | 13 | !set login_method=$idp_method $ldap_login |
|
- | 14 | !endif |
|
- | 15 | !endif |
|
- | 16 | up_external_auth=$user_auth |
|
- | 17 | !read adm/class/hashlogin $user_auth,$class,$login_method |
|
- | 18 | !endif |
|
- | 19 | ||
- | 20 | !if $idp_method isitemof $idp_method_list |
|
- | 21 | !read idp_$idp_method $user_auth |
|
- | 22 | firstname=$up_firstname |
|
- | 23 | lastname=$up_lastname |
|
- | 24 | email=$up_email |
|
6 | !endif |
25 | !endif |
7 | 26 | ||
8 | !if $login=$empty or $lastname=$empty or $firstname=$empty or \ |
27 | !if $login=$empty or $lastname=$empty or $firstname=$empty or \ |
9 | ($new_user=yes and $pass=$empty) |
28 | ($new_user=yes and $pass=$empty) |
10 | login= |
29 | login= |