diff --git a/src/flextype/core/Endpoints/Api.php b/src/flextype/core/Endpoints/Api.php index 35ae39db..e0acc710 100644 --- a/src/flextype/core/Endpoints/Api.php +++ b/src/flextype/core/Endpoints/Api.php @@ -126,7 +126,7 @@ class Api return $this->getStatusCodeMessage(401); } - if (! password_verify($data['access_token'], $tokenData['hashed_access_token'])) { + if (! tokenHashValidate($data['access_token'], $tokenData['hashed_access_token'])) { return $this->getStatusCodeMessage(401); } }