git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9222
7612ce4b-ef26-0410-bec9-
ea0150e637f0
* Check RFC 2221 for details. Since we do not support login referrals yet
* we log the user out.
*/
* Check RFC 2221 for details. Since we do not support login referrals yet
* we log the user out.
*/
- if ( strpos($message, "REFERRAL") ) {
+ if ( stristr($message, 'REFERRAL imap') === TRUE ) {
sqimap_logout($imap_stream);
set_up_language($squirrelmail_language, true);
include_once(SM_PATH . 'functions/display_messages.php' );
sqimap_logout($imap_stream);
set_up_language($squirrelmail_language, true);
include_once(SM_PATH . 'functions/display_messages.php' );