Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -764,7 +764,7 @@ |
765 | 765 | $writeloc = ''; |
766 | 766 | } |
767 | 767 | # Let other extensions modify the user object before creation |
768 | | - wfRunHooks( 'LDAPSetCreationValues', array( $this, $username, &$values, $writeloc, &$result ) ); |
| 768 | + wfRunHooks( 'LDAPSetCreationValues', array( $this, $username, &$values, $writeloc, &$this->userdn, &$result ) ); |
769 | 769 | if ( ! $result ) { |
770 | 770 | $this->printDebug( "Failed to add user because LDAPSetCreationValues returned false", NONSENSITIVE ); |
771 | 771 | @ldap_unbind(); |