diff --git a/app/Http/Controllers/AccountApiController.php b/app/Http/Controllers/AccountApiController.php index 70e5e9cee2..cceb58a250 100644 --- a/app/Http/Controllers/AccountApiController.php +++ b/app/Http/Controllers/AccountApiController.php @@ -33,11 +33,7 @@ class AccountApiController extends BaseAPIController { $headers = Utils::getApiHeaders(); - if (hash_equals(env(API_SECRET), $request->api_secret)) { - return Response::make(RESULT_SUCCESS, 200, $headers); - } else { - return $this->errorResponse(['message' => 'API Secret does not match .env variable'], 400); - } + return Response::make(RESULT_SUCCESS, 200, $headers); } public function register(RegisterRequest $request)