change twitter username to allow uppercase letters and underscores
darcs-hash:20080923060314-5ed1f-2ec4894251b99a2f9e9763ecc41659533bfab2eb.gz
This commit is contained in:
parent
858e55f5b4
commit
b2b475d313
@ -112,9 +112,9 @@ class TwittersettingsAction extends SettingsAction {
|
||||
$friendsync = $this->boolean('friendsync');
|
||||
|
||||
if (!Validate::string($twitter_username, array('min_length' => 1,
|
||||
'max_length' => 64,
|
||||
'format' => VALIDATE_NUM . VALIDATE_ALPHA_LOWER))) {
|
||||
$this->show_form(_('Username must have only lowercase letters and numbers and no spaces.'));
|
||||
'max_length' => 64,
|
||||
'format' => VALIDATE_NUM . VALIDATE_ALPHA . '_'))) {
|
||||
$this->show_form(_('Username must have only numbers, upper- and lowercase letters, and underscore (_).'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user