X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fredirect.php;h=fa667a0b466ed9dc5201653ec65491cdd833821e;hp=7189de47fe1171da21e23ff97c7869697495b828;hb=24e8917ead46268f6a4264900c832b4a5c37ee84;hpb=ae5dddc065f9501f267c4edaf68a066835da915f diff --git a/src/redirect.php b/src/redirect.php index 7189de47..fa667a0b 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-2020 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 */ /**