Fix return message

1.10.x
Julio Montoya 10 years ago
parent 580d69c8e8
commit ab6b63d6f1
  1. 3
      main/auth/reset.php

@ -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());

Loading…
Cancel
Save