Kaynağa Gözat

401 all auth_request that are not GET - FIX

causefx 7 yıl önce
ebeveyn
işleme
9c9cdbffd8
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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':