unautho
This commit is contained in:
@@ -37,7 +37,7 @@ class CustomerJwtMiddleware
|
||||
Log::info("Customer jwt");
|
||||
Log::info($user);
|
||||
|
||||
if (!$user || $user->principal_type_xid !== 3) {
|
||||
if (!$user || $user->principal_type_xid != 3) {
|
||||
return response()->json(['status' => 'error', 'status_code' => 401, 'message' => 'Unauthorized access'], 401);
|
||||
}
|
||||
Log::info("Customer jwt");
|
||||
|
||||
Reference in New Issue
Block a user