projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74bcc69
)
nicknamize the requested nickname during autoregistration
author
Craig Andrews
<candrews@integralblue.com>
Fri, 26 Feb 2010 21:31:38 +0000
(16:31 -0500)
committer
Craig Andrews
<candrews@integralblue.com>
Fri, 26 Feb 2010 21:31:38 +0000
(16:31 -0500)
lib/authenticationplugin.php
patch
|
blob
|
history
diff --git
a/lib/authenticationplugin.php
b/lib/authenticationplugin.php
index 5be3ea5b90795c360f3865e506f9f265b835135d..97e9d52de5b71bd9db40eee163783a171dbc52af 100644
(file)
--- 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);
}