Skip to content

Can I pass guard name to the middleware like middleware('permission:publish-articles,web') #2482

Closed Answered by drbyte
AMoktar asked this question in Q&A
Discussion options

You must be logged in to vote

Yes you may pass the guard, as ,web like in your example.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@AMoktar
Comment options

@drbyte
Comment options

Answer selected by AMoktar
@parallels999
Comment options

@drbyte
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants