Changeset 5306 for trunk/interface/owner/setting/account/password/index.php
- Timestamp:
- 02/20/08 11:24:05 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/setting/account/password/index.php
r5285 r5306 6 6 'POST' => array( 7 7 'pwd' => array('string','default'=>''), 8 'prevPwd' => array('string','default'=>''), 9 'APIKey' => array('string', 'default'=>'') 8 'prevPwd' => array('string','default'=>'') 10 9 ) 11 10 ); … … 15 14 if($_POST['pwd'] != '' && $_POST['prevPwd'] != '') { 16 15 $result = changePassword(getUserId(), $_POST['pwd'], $_POST['prevPwd']); 17 18 16 } 19 $result = changeAPIKey(getUserId(), $_POST['APIKey']);20 17 if($result) respond::ResultPage(0); 21 18 else respond::ResultPage(-1);
