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