未经过身份验证的消息Laravel 5.6(PHP)

I am new in Laravel and using 5.6 version. I want that if user goes to a specific page that is authenticated it should redirect to login page and show a flash message for example the user goes to create post page which is authenticated and user is not authenticated so the login form is showed but I want a flash message also show on login page can anyone tell me where to set that message???

Note: I'm using the built in Laravel Login sytem nothing changed!

Laravel default authentication supports events. When user failed to authenticate the App\Listeners\LogFailedLogin event is being dispatched. You can hook your handler to that event and set session flash message there.

You can set the message as a normal html code in your login page and put the @guest...@endguest

For Example :

<div class="alert alert-danger">
    <h2 class="text-center">Your Message here !!</h2> <!-- This is only a way to show u , it doesn't have to be like this-->
</div>

Hopefully this will work for you