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 #86

Closed mebjas closed 10 years ago

mebjas commented 10 years ago

These changes implements last login functionality covering LAST_LOGIN INSERTION [on registeration], UPDATE [on login] and function to retrieve last login time from server

SvenRtbg commented 10 years ago

You have broken the tests. Try to fix it.

mebjas commented 10 years ago

The test that failed has nothing to do with current pull! why did it occur...?

Fatal error: Call to a member function deleteUser() on a non-object in /home/travis/build/OWASP/phpsec/test/libs/auth/AdvPasswordTest.php on line 56

mebjas commented 10 years ago

@SvenRtbg If you look at the details of Travis CI build, function existingUserObject($id, $pass) at phpsec / libs / auth / user.php

is not returning an instance of User class to test file ...! I cannot find single reason for this to happen, I need help here!

SvenRtbg commented 10 years ago

I'll have a look in a couple of hours.

mebjas commented 10 years ago

Well I do not get why build is failing! Errors are not relevant to current pull :warning: