Changeset 12132


Ignore:
Timestamp:
2007/04/10 20:54:06 (14 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/downloads/module/security/security.php

    r12115 r12132  
    9494function sfCheckIDPass($user, $password) { 
    9595    $objQuery = new SC_Query(); 
    96     $sql = "SELECT password FROM dtb_member WHERE login_id = ?"; 
     96    $sql = "SELECT password FROM dtb_member WHERE login_id = ? AND del_flg = 0"; 
    9797    // DB¤«¤é°Å¹æ²½¥Ñ¥¹¥ï¡¼¥É¤ò¼èÆÀ¤¹¤ë¡£ 
    98     $arrRet = $objQuery->getAll($sql, array($user));  
     98    $arrRet = $objQuery->getAll($sql, array($user)); 
    9999    // ¥æ¡¼¥¶ÆþÎϥѥ¹¥ï¡¼¥É¤ÎȽÄê 
    100100    $ret = sha1($password . ":" . AUTH_MAGIC); 
Note: See TracChangeset for help on using the changeset viewer.