Changeset 5910

Show
Ignore:
Timestamp:
05/09/08 21:33:09 (8 months ago)
Author:
inureyes
Message:

#937

  • 로그인 관련 패스워드 부분 패치
  • 묻어가기~
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/components/Textcube.Control.Auth.php

    r5888 r5910  
    361361        $blogApiPassword = getBlogSetting("blogApiPassword", ""); 
    362362 
    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)) { 
    364364            $userid=getUserIdByEmail($loginid); 
    365365            $authtoken = POD::queryCell("SELECT value FROM {$database['prefix']}UserSettings WHERE userid = '$userid' AND name = 'AuthToken' LIMIT 1");