diff --git a/customerapi/controllers/RestController.php b/customerapi/controllers/RestController.php index aba9b95..41dd5ff 100644 --- a/customerapi/controllers/RestController.php +++ b/customerapi/controllers/RestController.php @@ -33,7 +33,7 @@ class RestController extends Controller ], ]; -// $behaviors['authenticator'] = $auth; + $behaviors['authenticator'] = $auth; $behaviors['authenticator'] = [ 'class' => JwtHttpBearerAuth::class, 'auth' => [$this, 'auth'],