Queue does not work when using custom Guards/Middleware #225
-
Hey :) So for a project I am in need of using a custom Authguard aswell as a custom middleware to check the auth state of the user. It gives the message that the export has been queued but upon finishing the notification that my file is ready does not show up. I don't have the web middleware since I am using a custom middleware. Also in the export itself it tries to get the userid by using auth()->id(). Is there a fix to this? I tried to already use my custom guard in the export and also removed the middlwares in the web.php.. but still no message that my file is ready :/ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think we need to replace any occurrences of |
Beta Was this translation helpful? Give feedback.
I think we need to replace any occurrences of
auth()->id()
withFilament::auth()->id()
. Could you try whether that works?