From 01eb4e8f003bf62575ec16dfb6127d7534be9c88 Mon Sep 17 00:00:00 2001 From: Eric Helgeson Date: Fri, 29 Jan 2010 17:58:15 -0500 Subject: [PATCH] autoRegister() expects a username existing in ldap, not the suggested_nickname --- lib/authenticationplugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/authenticationplugin.php b/lib/authenticationplugin.php index 17237086c4..f7f8f8655b 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;