Allow only logged users... #50
Answered
by
Xammie
martinsnajdr
asked this question in
Q&A
-
Hello, I was trying to allow only logged in users to mailbook, but it seems the user sessions are not loaded for the mailbook routes. Any idea? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
Xammie
Mar 1, 2023
Replies: 1 comment 1 reply
-
Hello! You can do this with the following config: 'middlewares' => [
'web',
'auth',
\Xammie\Mailbook\Http\Middlewares\RollbackDatabase::class,
], |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Xammie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! You can do this with the following config: