laravel 5.5 auth middleware, redirect to login page, can show some message?

Posted 1 year ago by lcf8381595

when use auth middleware, it redirect to login page if user did not login, how can i show some message like "you have to login to access this page" when redirect to login page?

thanks.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.