Skip to content

Always redirect to back URL when put Authentication 'middleware'=>['web:check'] in config file, what I do wrong ? #43

Answered by arukompas
Sariln asked this question in Q&A
Discussion options

You must be logged in to vote

@Sariln hey, what does the web:check middleware do exactly? Does it check for a logged in user? If so, are you actually logged in?

I can't find any examples on the web using web:check. Did you mean to write 'middleware' => ['web', 'auth'] instead?

Also, check out the other authorization options available which will give you more control over what user(s) can access the log viewer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by arukompas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants