]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
autoRegister() expects a username existing in ldap, not the suggested_nickname
authorEric Helgeson <erichelgeson@gmail.com>
Fri, 29 Jan 2010 22:58:15 +0000 (17:58 -0500)
committerEric Helgeson <erichelgeson@gmail.com>
Fri, 29 Jan 2010 22:58:15 +0000 (17:58 -0500)
lib/authenticationplugin.php

index 17237086c4f025cf0cd6e876e5d577d8d731652a..f7f8f8655b4990017f205446da72cade52827d1b 100644 (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;