|
|
|
@ -52,14 +52,11 @@ if ($form->validate()) { |
|
|
|
header('Location: '.api_get_path(WEB_PATH)); |
|
|
|
header('Location: '.api_get_path(WEB_PATH)); |
|
|
|
exit; |
|
|
|
exit; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
|
|
|
|
if (empty($user)) { |
|
|
|
|
|
|
|
Display::addFlash( |
|
|
|
Display::addFlash( |
|
|
|
Display::return_message(get_lang('LinkExpired')) |
|
|
|
Display::return_message(get_lang('LinkExpired')) |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$tpl->assign('form', $form->toHtml()); |
|
|
|
$tpl->assign('form', $form->toHtml()); |
|
|
|
$content = $tpl->get_template('auth/set_temp_password.tpl'); |
|
|
|
$content = $tpl->get_template('auth/set_temp_password.tpl'); |
|
|
|
|