forked from GNUsocial/gnu-social
autoRegister() expects a username existing in ldap, not the suggested_nickname
This commit is contained in:
parent
acd0c0732a
commit
01eb4e8f00
@ -132,7 +132,7 @@ abstract class AuthenticationPlugin extends Plugin
|
|||||||
//someone already exists with the suggested nickname
|
//someone already exists with the suggested nickname
|
||||||
//not much else we can do
|
//not much else we can do
|
||||||
}else{
|
}else{
|
||||||
$user = $this->autoregister($suggested_nickname);
|
$user = $this->autoRegister($nickname);
|
||||||
if($user){
|
if($user){
|
||||||
User_username::register($user,$nickname,$this->provider_name);
|
User_username::register($user,$nickname,$this->provider_name);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user