Add session variables that store information about most recent fatal IMAP error
[squirrelmail.git] / src / redirect.php
index c8af13671c83d6d56448d65f41f85d6d1d755bfd..97600d23e347a9439b46ad67f1fa2e91932dc827 100644 (file)
@@ -71,8 +71,8 @@ if ($force_username_lowercase) {
 }
 
 /* Verify that username and password are correct. */
-global $imapSslOptions; // in case not defined in config
-$imapConnection = sqimap_login($login_username, $key, $imapServerAddress, $imapPort, 0, $imapSslOptions);
+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 */
 
 /**