dwightwatson/autologin

Can't connect anymore..

Closed this issue · 2 comments

Hi,

Since the last commit, there seems to have a issue on the autoconnection.
None of our links redirects on the good address.

After looking for what's going on, i think it's coming in the AutologinController.php, in the autologin function. You check if there is a user returned by loginUsingId but in this function, you return Auth::login($user) which returns void. So when you test if there is a user connected, the good redirect is never called..

Could you check that please?
Thank you!

(Sorry for my english, i'm french..)

Hey, nice catch! I now return the user as expected so it should start working again. I pushed a new tagged version so you should be able to update to it right away.

Sorry about that!

Great news! It's works!

Thank you for your quick fix!