equal
deleted
inserted
replaced
542 redirect( makeUrl(getConfig('main_page'), false, true), $lang->get('user_login_success_title'), $lang->get('user_login_success_body', $subst) ); |
542 redirect( makeUrl(getConfig('main_page'), false, true), $lang->get('user_login_success_title'), $lang->get('user_login_success_body', $subst) ); |
543 } |
543 } |
544 } |
544 } |
545 else |
545 else |
546 { |
546 { |
|
547 if ( $result['error'] === 'valid_reset' ) |
|
548 { |
|
549 header('HTTP/1.1 302 Temporary Redirect'); |
|
550 header('Location: ' . $result['redirect_url']); |
|
551 |
|
552 $db->close(); |
|
553 exit(); |
|
554 } |
547 $GLOBALS['__login_status'] = $result; |
555 $GLOBALS['__login_status'] = $result; |
548 } |
556 } |
549 } |
557 } |
550 } |
558 } |
551 |
559 |