Changeset 5910
- Timestamp:
- 05/09/08 21:33:09 (8 months ago)
- Files:
-
- 1 modified
-
trunk/components/Textcube.Control.Auth.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/Textcube.Control.Auth.php
r5888 r5910 361 361 $blogApiPassword = getBlogSetting("blogApiPassword", ""); 362 362 363 if ((strlen($password) == 32) && preg_match('/[0-9a-f] /i', $password)) {363 if ((strlen($password) == 32) && preg_match('/[0-9a-f]{32}/i', $password)) { 364 364 $userid=getUserIdByEmail($loginid); 365 365 $authtoken = POD::queryCell("SELECT value FROM {$database['prefix']}UserSettings WHERE userid = '$userid' AND name = 'AuthToken' LIMIT 1");
