X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fredirect.php;h=f94525096c3e023dd4159f3155a0644834ee3f7d;hp=7189de47fe1171da21e23ff97c7869697495b828;hb=dfc64d149b23ad2e06a10ff4f187ea9ce664bbc9;hpb=ae5dddc065f9501f267c4edaf68a066835da915f diff --git a/src/redirect.php b/src/redirect.php index 7189de47..f9452509 100644 --- a/src/redirect.php +++ b/src/redirect.php @@ -5,7 +5,7 @@ * * Derived from webmail.php by Ralf Kraudelt * - * @copyright 1999-2011 The SquirrelMail Project Team + * @copyright 1999-2019 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -71,7 +71,8 @@ if ($force_username_lowercase) { } /* Verify that username and password are correct. */ -$imapConnection = sqimap_login($login_username, $key, $imapServerAddress, $imapPort, 0); +global $imap_stream_options; // in case not defined in config +$imapConnection = sqimap_login($login_username, $key, $imapServerAddress, $imapPort, 0, $imap_stream_options); /* From now on we are logged it. If the login failed then sqimap_login handles it */ /**