Fix return message

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

@ -52,12 +52,9 @@ if ($form->validate()) {
header('Location: '.api_get_path(WEB_PATH)); header('Location: '.api_get_path(WEB_PATH));
exit; exit;
} else { } else {
Display::addFlash(
if (empty($user)) { Display::return_message(get_lang('LinkExpired'))
Display::addFlash( );
Display::return_message(get_lang('LinkExpired'))
);
}
} }
} }

Loading…
Cancel
Save