goalio / GoalioRememberMe

A Zend Framework 2 (ZF2) Module offering remember me functionality to ZfcUser
BSD 3-Clause "New" or "Revised" License
32 stars 19 forks source link

Cookie not removed #18

Closed vince12 closed 11 years ago

vince12 commented 11 years ago

Hi,

I found another bug: the cookie is not removed well. This comes from tha fact that the path is not defined when calling the function setCookie() in the method removeCookie() of the RememberMe service (l.70).

It is: setcookie("remember_me", "", time() - 3600);

It should be: setcookie("remember_me", "", time() - 3600, '/');

This feature was definitely not tested...

Cheers

pdobrigkeit commented 11 years ago

Thank you for the bug report.

I never claimed that this is tested to the full extend. I am sorry if that has caused any inconveniance, but I hoped that releasing the feature as a module people like you can contribute and make it better, because I have very little time on my hands ;)

Cheers.