/**
* auth.php
*
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Contains functions used to do authentication.
*
- * $Id$
+ * @version $Id$
* @package squirrelmail
*/
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.
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;
}
/**
* 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)
*/