bnabriss / mix-auth

MIT License
0 stars 2 forks source link

Laravel 5.5 support #1

Open mitjarobic opened 6 years ago

mitjarobic commented 6 years ago

Hi, can you support the laravel 5.5. also?

bnabriss commented 6 years ago

actually I didn't test it on 5.5, let me know if it show errors

mitjarobic commented 6 years ago

The first problem was: https://github.com/bnabriss/mix-auth/blob/master/composer.json#L18 Had to change it to:

    "illuminate/auth": "^5.5"

The second problem was: https://github.com/bnabriss/mix-auth/blob/master/src/Middleware/Authenticate.php#L50 Had to change it to:

if (config('mix-auth.token_sessions')) {

Otherwise it seems to work.