Show
Ignore:
Timestamp:
02/20/08 11:24:05 (9 months ago)
Author:
inureyes
Message:

#819

* 비밀번호를 저장할 때 무조건 저장되던 문제 수정

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/interface/owner/setting/account/password/index.php

    r5285 r5306  
    66    'POST' => array( 
    77        'pwd' => array('string','default'=>''), 
    8         'prevPwd' => array('string','default'=>''), 
    9         'APIKey' => array('string', 'default'=>'') 
     8        'prevPwd' => array('string','default'=>'') 
    109    ) 
    1110); 
     
    1514if($_POST['pwd'] != '' && $_POST['prevPwd'] != '') { 
    1615    $result = changePassword(getUserId(), $_POST['pwd'], $_POST['prevPwd']); 
    17      
    1816} 
    19 $result = changeAPIKey(getUserId(), $_POST['APIKey']); 
    2017if($result) respond::ResultPage(0); 
    2118else respond::ResultPage(-1);