/**
* auth.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Contains functions used to do authentication.
}
if (! isset($imap_auth_mech)) {
- $imap_auth_mech = 'plain';
+ $imap_auth_mech = 'login';
}
if (! isset($use_imap_tls)) {
if (!sqsession_is_registered('session_expired_location')) {
sqsession_register($session_expired_location,'session_expired_location');
}
- include_once( '../functions/display_messages.php' );
+ include_once( SM_PATH . 'functions/display_messages.php' );
logout_error( _("You must be logged in to access this page.") );
exit;
}