Changeset 9279
- Timestamp:
- 08/18/08 12:51:21 (4 months ago)
- Files:
-
- branches/0.8/jaws/html/gadgets/Users/AdminAjax.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/0.8/jaws/html/gadgets/Users/AdminAjax.php
r8877 r9279 118 118 } 119 119 120 //Check username 121 if (!preg_match('/^[a-z0-9]+$/i', $username) || strlen($username) < 3) { 122 $GLOBALS['app']->Session->PushLastResponse(_t('USERS_REGISTER_USERNAME_NOT_VALID'), RESPONSE_ERROR); 123 return $GLOBALS['app']->Session->PopLastResponse(); 124 } 125 120 126 if ($type == 0 && $GLOBALS['app']->Session->IsSuperAdmin() === false) { 121 127 $type = 1;
