From: Craig Andrews Date: Fri, 26 Feb 2010 21:31:38 +0000 (-0500) Subject: nicknamize the requested nickname during autoregistration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a796a7cdc6e66a4c03af0ecd8ec97cd6643da966;p=quix0rs-gnu-social.git nicknamize the requested nickname during autoregistration --- diff --git a/lib/authenticationplugin.php b/lib/authenticationplugin.php index 5be3ea5b90..97e9d52de5 100644 --- a/lib/authenticationplugin.php +++ b/lib/authenticationplugin.php @@ -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); }