From f812db03cd67634e804d02a2f9033c4aeeb5ab8d Mon Sep 17 00:00:00 2001 From: Devansh Date: Wed, 8 Jun 2022 16:21:46 +0530 Subject: [PATCH] Config Added --- composer.lock | 8 ++++---- config/sanctum.php | 2 +- packages/Webkul/Core/src/Config/sanctum.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index cf7c537e1..78bb1e600 100644 --- a/composer.lock +++ b/composer.lock @@ -153,12 +153,12 @@ "source": { "type": "git", "url": "https://github.com/bagisto/rest-api.git", - "reference": "8f679061530ca31d85bff7fff0a19a3e4368216e" + "reference": "bca081c864e2509942d36c1bae885424e44abcfd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bagisto/rest-api/zipball/8f679061530ca31d85bff7fff0a19a3e4368216e", - "reference": "8f679061530ca31d85bff7fff0a19a3e4368216e", + "url": "https://api.github.com/repos/bagisto/rest-api/zipball/bca081c864e2509942d36c1bae885424e44abcfd", + "reference": "bca081c864e2509942d36c1bae885424e44abcfd", "shasum": "" }, "default-branch": true, @@ -189,7 +189,7 @@ "issues": "https://github.com/bagisto/rest-api/issues", "source": "https://github.com/bagisto/rest-api/tree/master" }, - "time": "2022-04-07T09:23:21+00:00" + "time": "2022-06-02T11:23:15+00:00" }, { "name": "bagistobrasil/bagisto-product-social-share", diff --git a/config/sanctum.php b/config/sanctum.php index 310412eda..be9119601 100644 --- a/config/sanctum.php +++ b/config/sanctum.php @@ -31,7 +31,7 @@ return [ | */ - 'guard' => ['customer'], + 'guard' => ['admin', 'customer'], /* |-------------------------------------------------------------------------- diff --git a/packages/Webkul/Core/src/Config/sanctum.php b/packages/Webkul/Core/src/Config/sanctum.php index 310412eda..be9119601 100644 --- a/packages/Webkul/Core/src/Config/sanctum.php +++ b/packages/Webkul/Core/src/Config/sanctum.php @@ -31,7 +31,7 @@ return [ | */ - 'guard' => ['customer'], + 'guard' => ['admin', 'customer'], /* |--------------------------------------------------------------------------