]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
nicknamize the requested nickname during autoregistration
authorCraig Andrews <candrews@integralblue.com>
Fri, 26 Feb 2010 21:31:38 +0000 (16:31 -0500)
committerCraig Andrews <candrews@integralblue.com>
Fri, 26 Feb 2010 21:31:38 +0000 (16:31 -0500)
lib/authenticationplugin.php

index 5be3ea5b90795c360f3865e506f9f265b835135d..97e9d52de5b71bd9db40eee163783a171dbc52af 100644 (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);
     }