@ -52,13 +52,10 @@ 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());