forked from GNUsocial/gnu-social
nicknamize the requested nickname during autoregistration
This commit is contained in:
parent
74bcc6929d
commit
a796a7cdc6
@ -79,7 +79,7 @@ abstract class AuthenticationPlugin extends Plugin
|
|||||||
$nickname = $username;
|
$nickname = $username;
|
||||||
}
|
}
|
||||||
$registration_data = array();
|
$registration_data = array();
|
||||||
$registration_data['nickname'] = $nickname ;
|
$registration_data['nickname'] = common_nicknamize($nickname);
|
||||||
return User::register($registration_data);
|
return User::register($registration_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user