ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 1329


Ignore:
Timestamp:
Dec 21, 2006, 8:09:01 PM (14 years ago)
Author:
maruyama
Message:

パスワード確認修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/maruyama/prj_ext_auth_fix/webapp/lib/db/etc.php

    r1324 r1329  
    134134function db_common_authenticate_password($c_member_id, $password, $is_ktai = false)
    135135{
    136     $username = db_member_username4c_member_id($c_member_id, $is_ktai);
    137     if (!IS_SLAVEPNE) {
    138         $username = t_encrypt($username);
    139     }
     136    $auth_config = get_auth_config($is_ktai);
    140137   
    141     $auth_config = get_auth_config($is_ktai);
     138    if (IS_SLAVEPNE) {
     139        $username = db_member_username4c_member_id($c_member_id, $is_ktai);
     140    } else {
     141        $auth_config['options']['usernamecol'] = 'c_member_id';
     142        $username = $c_member_id;
     143    }
     144   
    142145    $storage = Auth::_factory($auth_config['storage'],$auth_config['options']);
    143146    return $storage->fetchData($username, $password, false);
Note: See TracChangeset for help on using the changeset viewer.