Skip to content
Browse files

Fix header name

  • Loading branch information...
1 parent 82b5b0f commit cadc3036b3ae944bfebec88dd37f18796cd2ef37 @mrubinsk mrubinsk committed Apr 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/ActiveSync/lib/Horde/ActiveSync.php
View
2 framework/ActiveSync/lib/Horde/ActiveSync.php
@@ -372,7 +372,7 @@ public function authenticate($user = null)
if ($this->_request->getMethod() == 'POST' && empty($get['User'])) {
if ($serverVars['PHP_AUTH_USER']) {
$get['User'] = $serverVars['PHP_AUTH_USER'];
- } elseif ($serverVars['Authorization']) {
+ } elseif ($serverVars['HTTP_AUTHORIZATION']) {
$hash = str_replace('Basic ', '', $serverVars['Authorization']);
$hash = base64_decode($hash);
if (strpos($hash, ':') !== false) {

0 comments on commit cadc303

Please sign in to comment.
Something went wrong with that request. Please try again.