Laravel 5 Auth Logout not destroying session

前端 未结 12 1656
忘掉有多难
忘掉有多难 2021-01-04 00:10

I am using Laravel5 Auth system for my new project, I am able to use registration and login functions with out any problem but logout is not working as expected, however I g

12条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-04 00:37

    I ran into a similar issue and it turned out using the 'file' driver for sessions somehow the server was creating files it could not modify later but there was no file permission warning. I switched to a redis implementation so I unfortunately can not say how to fix the file creation issue, but thought this might save someone some time.

提交回复
热议问题