summaryrefslogtreecommitdiff
path: root/actions/userauthorization.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-05 16:26:19 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-05 16:26:19 -0400
commit83ff1cecd39e197e108ecdaba7139b59d22dbee0 (patch)
tree6c0877ef42fa5c5b154159d69ad901e44584c80e /actions/userauthorization.php
parentc3a522623c3a0628c33407ee01b16e189c44bba5 (diff)
Use NICKNAME_FMT everywhere consistently
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'];