Monday, April 16, 2018

flash message if user is not login laravel - development

flash message if user is not login laravel

When user tried to go user dashboard without login, it return to login page. it works perfectly. but I need to show message on login page using middleware that ‘please login to see this page.’

I tried {!! $errors->first(‘loginpermission’, ‘:message’) !!}

But it not working

Please help me how to use this.



from Laravel Questions and Answers https://laravelquestions.com/php/flash-message-if-user-is-not-login-laravel/
via Lzo Media

No comments:

Post a Comment