diff --git a/SoObjects/SOGo/SOGoOpenIdSession.m b/SoObjects/SOGo/SOGoOpenIdSession.m index 2f9e43393..f338c9698 100644 --- a/SoObjects/SOGo/SOGoOpenIdSession.m +++ b/SoObjects/SOGo/SOGoOpenIdSession.m @@ -291,7 +291,7 @@ size_t curl_body_function(void *ptr, size_t size, size_t nmemb, void *buffer) NSLog(@"OpenId perform request, myBody %s", myBody); curl_easy_setopt(curl, CURLOPT_POST, 1); - curl_easy_setopt(curl, CURLOPT_POSTFIELDS, [body bytes]); + curl_easy_setopt(curl, CURLOPT_POSTFIELDS, myBody); } //add headers