dyjh %!s(int64=6) %!d(string=hai) anos
pai
achega
de89f40d68
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Http/Controllers/Web/AuthController.php

+ 2 - 2
app/Http/Controllers/Web/AuthController.php

xqd
@@ -93,9 +93,9 @@ class AuthController extends Controller
                 exit;
             }
         } else {
-            \Log::info($GLOBALS);
+          //  \Log::info($GLOBALS);
             \Log::info(file_get_contents("php://input"));
-            $postStr = $GLOBALS["HTTP_RAW_POST_DATA"];
+            $postStr = file_get_contents("php://input");
             if (!empty($postStr)) {
                 $postObj = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);
                 $fromUsername = $postObj->FromUserName;