diff --git a/Controller/OpauthAppController.php b/Controller/OpauthAppController.php index e3afd46..5c065a6 100644 --- a/Controller/OpauthAppController.php +++ b/Controller/OpauthAppController.php @@ -54,10 +54,10 @@ public function callback(){ } break; case 'post': - $response = unserialize(base64_decode( $_POST['opauth'] )); + $response = json_decode( base64_decode($_POST['opauth']), true); break; case 'get': - $response = unserialize(base64_decode( $_GET['opauth'] )); + $response = json_decode( base64_decode($_GET['opauth']), true); break; default: echo 'Error: Unsupported callback_transport.'."
\n";