if ( sqsession_is_registered('user_is_logged_in') ) {
return;
} else {
- global $PHP_SELF, $session_expired_post,
+ global $PHP_SELF, $session_expired_post,
$session_expired_location, $squirrelmail_language;
/* First we store some information in the new session to prevent
* information-loss.
*/
-
+
$session_expired_post = $_POST;
$session_expired_location = $PHP_SELF;
- if (!sqsession_is_registered('session_expired_post')) {
+ if (!sqsession_is_registered('session_expired_post')) {
sqsession_register($session_expired_post,'session_expired_post');
}
if (!sqsession_is_registered('session_expired_location')) {
*/
function digest_md5_response ($username,$password,$challenge,$service,$host) {
$result=digest_md5_parse_challenge($challenge);
-
+
// verify server supports qop=auth
// $qop = explode(",",$result['qop']);
//if (!in_array("auth",$qop)) {
$reply .= ',qop=' . $qop_value;
$reply = base64_encode($reply);
return $reply . "\r\n";
-
+
}
/**
return $hmac;
}
-/**
+/**
* Fillin user and password based on SMTP auth settings.
*
* @param string $user Reference to SMTP username
* @param string $pass Reference to SMTP password (unencrypted)
*/
function get_smtp_user(&$user, &$pass) {
- global $username, $smtp_auth_mech,
+ global $username, $smtp_auth_mech,
$smtp_sitewide_user, $smtp_sitewide_pass;
if ($smtp_auth_mech == 'none') {
}
}
-?>
+?>
\ No newline at end of file