summaryrefslogtreecommitdiff
path: root/lib/authenticationplugin.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-02-26 16:31:38 -0500
committerCraig Andrews <candrews@integralblue.com>2010-02-26 16:31:38 -0500
commita796a7cdc6e66a4c03af0ecd8ec97cd6643da966 (patch)
tree75a6fa67533a4357019cffb33dacc64de7278388 /lib/authenticationplugin.php
parent74bcc6929db15b18b761564232a1cb674ffbdce2 (diff)
nicknamize the requested nickname during autoregistration
Diffstat (limited to 'lib/authenticationplugin.php')
-rw-r--r--lib/authenticationplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticationplugin.php b/lib/authenticationplugin.php
index 5be3ea5b9..97e9d52de 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);
}