OWASP / phpsec

OWASP PHP Security Project - THIS PROJECT IS INACTIVE AND MAY CONTAIN SECURITY FLAWS
197 stars 103 forks source link

Last login feature implemented #87

Closed mebjas closed 10 years ago

mebjas commented 10 years ago

I guess I found why the test was failing! Here is code to implement last login features so that LAST_LOGIN in db will be updated when ever user log's In

mebjas commented 10 years ago

@SvenRtbg the test was failing because in the test environment in test/libs/auth/AdvPasswordTest.php the time() was being set to a hard-coded value which was causing the assertion to fail. I'd like to know if I need to make further modifications in LAST LOGIN implementation @abiusx

abhshkdz commented 10 years ago

@mebjas I don't think this was ever merged. And now the last_login branch on mebjas/phpsec doesn't seem to exist. Could you have a look once?

mebjas commented 10 years ago

I have sent a new one!