nicknamize the requested nickname during autoregistration

This commit is contained in:
Craig Andrews 2010-02-26 16:31:38 -05:00
parent 74bcc6929d
commit a796a7cdc6

View File

@ -79,7 +79,7 @@ abstract class AuthenticationPlugin extends Plugin
$nickname = $username;
}
$registration_data = array();
$registration_data['nickname'] = $nickname ;
$registration_data['nickname'] = common_nicknamize($nickname);
return User::register($registration_data);
}