Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

No auth guard issue #4

Open
Open
@SGudbrandsson

Description

@SGudbrandsson

When I enable this plugin, I get this error:

aws.dev.ERROR: Auth guard [] is not defined.

The issue is caused by these two lines:

'user_id' => optional(auth()->user())->id ?? "-",
'company_id' => optional(auth()->user())->company_id ?? "-",

I recommend either setting a config variable to disable this (default enabled) or removing them completely.

I'm forking this repo and modifying it until then :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions