Uneditable address book entries no longer have checkboxes next to them on addresses...
[squirrelmail.git] / functions / auth.php
index 0765e7e2b92a2b89fcbedf2034b5467acf874c77..72a7b75eca5c6f6b38479f5eb168ac2672e98799 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Contains functions used to do authentication.
  *
- * $Id$
+ * @version $Id$
  * @package squirrelmail
  */
 
@@ -43,7 +43,7 @@ function is_logged_in() {
         return;
     } else {
         global $PHP_SELF, $session_expired_post, 
-              $session_expired_location;
+              $session_expired_location, $squirrelmail_language;
 
         /*  First we store some information in the new session to prevent
          *  information-loss.
@@ -58,6 +58,7 @@ function is_logged_in() {
            sqsession_register($session_expired_location,'session_expired_location');
         }
         include_once( SM_PATH . 'functions/display_messages.php' );
+        set_up_language($squirrelmail_language, true);
         logout_error( _("You must be logged in to access this page.") );
         exit;
     }
@@ -221,7 +222,6 @@ function hmac_md5($data, $key='') {
 /** 
  * Fillin user and password based on SMTP auth settings.
  *
- * @global
  * @param string $user Reference to SMTP username
  * @param string $pass Reference to SMTP password (unencrypted)
  */