Rev 5125 | Rev 5150 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5125 | Rev 5136 | ||
---|---|---|---|
Line 12... | Line 12... | ||
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 |
15 | !endif |
16 | up_external_auth=$user_auth |
16 | up_external_auth=$user_auth |
- | 17 | !if $new_user!=no |
|
17 | !read adm/class/hashlogin $user_auth,$class,$login_method |
18 | !read adm/class/hashlogin $user_auth,$class,$login_method |
- | 19 | !endif |
|
18 | !endif |
20 | !endif |
19 | 21 | ||
20 | !if $idp_method isitemof $idp_method_list |
22 | !if $idp_method isitemof $idp_method_list |
21 | !read idp_$idp_method $user_auth |
23 | !read idp_$idp_method $user_auth |
22 | firstname=$up_firstname |
24 | firstname=$up_firstname |
Line 56... | Line 58... | ||
56 | 58 | ||
57 | up_lastname=$lastname |
59 | up_lastname=$lastname |
58 | up_firstname=$firstname |
60 | up_firstname=$firstname |
59 | up_email=$email |
61 | up_email=$email |
60 | up_class=$wims_superclass |
62 | up_class=$wims_superclass |
- | 63 | up_external_auth=$user_auth |
|
61 | 64 | ||
- | 65 | replacelist=external_auth,supervise,participate,email |
|
62 | !read adm/class/adduser $login |
66 | !read adm/class/adduser $login |
63 | 67 | ||
64 | !if $bad!=$empty |
68 | !if $bad!=$empty |
65 | error=bad_definition |
69 | error=bad_definition |
66 | !exit |
70 | !exit |