소스 검색

401 all auth_request that are not GET - FIX

causefx 7 년 전
부모
커밋
9c9cdbffd8
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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':