Przeglądaj źródła

401 all auth_request that are not GET - FIX

causefx 7 lat temu
rodzic
commit
9c9cdbffd8
1 zmienionych plików z 3 dodań i 1 usunięć
  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':