Skip to content
Browse files

Force HTTPS for checkAuthToken as required by 1.3.0 endpoint

  • Loading branch information...
1 parent 7156de0 commit c2dc20058de52cbe0a77bf7d59a51ed303fde576 @lildude committed May 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 phpSmug.php
View
2 phpSmug.php
@@ -366,7 +366,7 @@ public function clearCache( $delete = FALSE )
**/
private function request( $command, $args = array() )
{
- if ( ( strpos( $command, 'login.with' ) ) || ( $this->oauth_signature_method == 'PLAINTEXT' ) ) {
+ if ( ( strpos( $command, 'login.with' ) || ( strpos( $command, 'checkAccessToken' ) ) ) || ( $this->oauth_signature_method == 'PLAINTEXT' ) ) {
$proto = "https";
} else {
$proto = "http";

0 comments on commit c2dc200

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