Changeset 5429
- Timestamp:
- 02/28/08 12:04:13 (10 months ago)
- Location:
- trunk/interface
- Files:
-
- 2 modified
-
login/index.php (modified) (2 diffs)
-
owner/setting/account/password/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/login/index.php
r5395 r5429 44 44 $message = _text('권한이 없습니다.'); 45 45 } else if (!empty($_POST['loginid']) && !empty($_POST['password'])) { 46 // 팀블로그 :: 로그인47 46 $isLogin = login($_POST['loginid'],$_POST['password']); 48 47 if (!$isLogin) { … … 51 50 $showPasswordReset = true; 52 51 } 53 } 54 else if($isLogin == 2) { 52 } else if($isLogin == 2) { 55 53 $message=_t('권한이 없습니다.'); 56 54 } -
trunk/interface/owner/setting/account/password/index.php
r5427 r5429 12 12 requireStrictRoute(); 13 13 $result = false; 14 $isAuthToken = getUserSetting('AuthToken',false);15 14 if($_POST['pwd'] != '' && ($_POST['prevPwd'] != '' || $isAuthToken)) { 16 $result = changePassword(getUserId(), $_POST['pwd'], $_POST['prevPwd'] , $isAuthToken);15 $result = changePassword(getUserId(), $_POST['pwd'], $_POST['prevPwd']); 17 16 } 18 17 if($result) respond::ResultPage(0);
