autoRegister() expects a username existing in ldap, not the suggested_nickname

This commit is contained in:
Eric Helgeson 2010-01-29 17:58:15 -05:00
parent acd0c0732a
commit 01eb4e8f00

View File

@ -132,7 +132,7 @@ abstract class AuthenticationPlugin extends Plugin
//someone already exists with the suggested nickname
//not much else we can do
}else{
$user = $this->autoregister($suggested_nickname);
$user = $this->autoRegister($nickname);
if($user){
User_username::register($user,$nickname,$this->provider_name);
return false;