3 * FusionForge login page
5 * This is main login page. It takes care of different account states
6 * (by disallowing logging in with non-active account, with appropriate
9 * Copyright 1999-2001 (c) VA Linux Systems
11 * This file is part of FusionForge. FusionForge is free software;
12 * you can redistribute it and/or modify it under the terms of the
13 * GNU General Public License as published by the Free Software
14 * Foundation; either version 2 of the Licence, or (at your option)
17 * FusionForge is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License along
23 * with FusionForge; if not, write to the Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 Header( "Expires: Wed, 11 Nov 1998 11:11:11 GMT");
28 Header( "Cache-Control: no-cache");
29 Header( "Cache-Control: must-revalidate");
31 require_once('../env.inc.php');
32 require_once $gfcommon.'include/pre.php';
33 require_once $gfwww.'include/login-form.php';
35 $return_to = getStringFromRequest('return_to');
36 $triggered = getIntFromRequest('triggered');
38 if (isset($session_hash)) {
39 //nuke their old session
43 display_login_page($return_to, $triggered);
47 // c-file-style: "bsd"