panique / huge

Simple user-authentication solution, embedded into a small framework.
2.14k stars 788 forks source link

Autologin redirects.. or not? #872

Open busaku opened 6 years ago

busaku commented 6 years ago

Hey,

i love ur mini framework. I used it to learn, how a framework works. But i don't understand why the Autologin script works fine.

If i don't have a Session (if o don't login) - but have a cookie, i redirect to "login/loginwithcookie". But before the action "loginWithCookie" should work, the redirect should trigger again and should get unlimited redirects, but i didn't..

I don't find any solution why it works fine.. but it does..

Maybe i'am just an idiot ;)

Thanks