Changeset 9281
- Timestamp:
- 08/18/08 12:52:13 (3 months ago)
- Files:
-
- trunk/jaws/html/gadgets/Users/AdminAjax.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/jaws/html/gadgets/Users/AdminAjax.php
r8876 r9281 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;
