summaryrefslogtreecommitdiff
path: root/actions/userauthorization.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-08-08 18:11:47 +0000
committerZach Copley <zach@controlyourself.ca>2009-08-08 18:11:47 +0000
commite3bb64cd6ceb9519aaed435fcb7dccb7e16e674d (patch)
tree97f5b0a35565a4300f352dc308ee0089926c0f4e /actions/userauthorization.php
parentc03d5932877c15eb673febabda5227df2173fbad (diff)
parent932d1fb7ce06081c788ea088171fd69ef03cd394 (diff)
Merge branch '0.8.x' into twitter-oauth
Diffstat (limited to 'actions/userauthorization.php')
-rw-r--r--actions/userauthorization.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php
index 8dc2c808d..00903ae01 100644
--- a/actions/userauthorization.php
+++ b/actions/userauthorization.php
@@ -481,7 +481,7 @@ class UserauthorizationAction extends Action
$nickname = $_GET['omb_listenee_nickname'];
if (!Validate::string($nickname, array('min_length' => 1,
'max_length' => 64,
- 'format' => VALIDATE_NUM . VALIDATE_ALPHA_LOWER))) {
+ 'format' => NICKNAME_FMT))) {
throw new OAuthException('Nickname must have only letters and numbers and no spaces.');
}
$profile = $_GET['omb_listenee_profile'];