diff options
author | Eric Helgeson <erichelgeson@gmail.com> | 2010-01-29 17:58:15 -0500 |
---|---|---|
committer | Eric Helgeson <erichelgeson@gmail.com> | 2010-01-29 17:58:15 -0500 |
commit | 01eb4e8f003bf62575ec16dfb6127d7534be9c88 (patch) | |
tree | a11dd75e9519538e483e85366b75752f18d0f39d /lib/authenticationplugin.php | |
parent | acd0c0732a0f328548e744bdb05bf11acf9d87e0 (diff) |
autoRegister() expects a username existing in ldap, not the suggested_nickname
Diffstat (limited to 'lib/authenticationplugin.php')
-rw-r--r-- | lib/authenticationplugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticationplugin.php b/lib/authenticationplugin.php index 17237086c..f7f8f8655 100644 --- a/lib/authenticationplugin.php +++ b/lib/authenticationplugin.php @@ -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; |