information about administrative restrictions in bug_report plugin
[squirrelmail.git] / src / login.php
index 4e83354c10abe302f93c41cbbbf64957f7374ede..3068e234bb5f445843e59d2a93cb17f4be9c7d47 100644 (file)
@@ -3,12 +3,11 @@
 /**
  * login.php -- simple login screen
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This a simple login screen. Some housekeeping is done to clean
  * cookies and find language.
  *
+ * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
@@ -51,7 +50,7 @@ $base_uri = sqm_baseuri();
  */
 
 sqsession_destroy();
-
+sqsession_start();
 header('Pragma: no-cache');
 
 /**
@@ -185,7 +184,8 @@ echo html_tag( 'table',
                                     $rcptaddress .
                                     addHidden('just_logged_in', '1'),
                                     'left', '', 'width="*"' )
-                                ) ,
+                                ) .
+                                concat_hook_function('login_form') ,
                             'center', $color[4], 'border="0" width="100%"' ) ,
                         'left', $color[4] )
                         ) .
@@ -198,7 +198,6 @@ echo html_tag( 'table',
                         'center' )
                         ) ,
                         '', $color[4], 'border="0" cellspacing="0" cellpadding="0" width="100%"' );
-do_hook('login_form');
 echo '</form>' . "\n";
 
 do_hook('login_bottom');