Explorar el Código

401 all auth_request that are not GET - FIX

causefx hace 7 años
padre
commit
9c9cdbffd8
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      api/index.php

+ 3 - 1
api/index.php

@@ -1157,7 +1157,9 @@ switch ($function) {
 				auth();
 				break;
 			default:
-				exit(http_response_code(401));
+				//exit(http_response_code(401));
+				auth();
+				break;
 		}
 		break;
 	case 'v1_plugin':