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