Skip to content

Commit

Permalink
Fixed a bug in authentication in altumo:make-geckoboard-request
Browse files Browse the repository at this point in the history
  • Loading branch information
russpoutine committed Jun 15, 2012
1 parent 21cfebb commit 00bb1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/task/sfAltumoMakeGeckoboardRequestTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function execute($arguments = array(), $options = array())

$request = new \Altumo\Http\OutgoingHttpRequest( $url );
$request->setVerifySslPeer( false );
$request->addHeader( 'Authorization', sprintf( 'Basic X:%s', $api_key ) );
$request->addHeader( 'Authorization', sprintf( 'Basic %s:X', $api_key ) );
echo $request->send();

}
Expand Down

0 comments on commit 00bb1da

Please sign in to comment.