codefirefox icon indicating copy to clipboard operation
codefirefox copied to clipboard

Store last 5 login dates and IPs

Open kjozwiak opened this issue 12 years ago • 9 comments

When I logged in today, it listed "Date last logged in" as "0 minutes ago". I think this should have listed the time that I logged in last time yesterday rather than the current session.

datelogged

kjozwiak avatar Dec 07 '13 23:12 kjozwiak

That one is by design. If you go back to it let's say in 30 minutes from now it'll say 30 min ago.

bbondy avatar Dec 07 '13 23:12 bbondy

answered before I edited!

Actually, a better idea would probably be to list maybe the last 5 logins? Think that would be a lot better then showing the current last logged in.

kjozwiak avatar Dec 07 '13 23:12 kjozwiak

ya, gotta rework it, I'll leave this bug open to do that. By the way when the auto logout thing happens, and it logs you back in, it'll reset to 0 minutes. That'll be fixed in the other bug once I figure out what's happening with the auto logout.

bbondy avatar Dec 07 '13 23:12 bbondy

Sounds good!

I have a feeling that the logout thing has something to do with the persona sessions and other browsers.. Maybe if you are logged into the same website on different browsers, it runs into issues? Example:

Login into IE and select "one month" Login into Firefox and hopefully you get a session prompt, select "this time only"

Not sure, just spit balling here but I ran into this when I had a few browsers opened

kjozwiak avatar Dec 07 '13 23:12 kjozwiak

Don't think so but can't be sure yet. I'm going to try a fix shortly, server will be down for a minute while I reload. Also last login date will refrehs when your browser logs into the new server instance when it restarts within a minute.

bbondy avatar Dec 07 '13 23:12 bbondy

k restarted, let me know if you see or don't see it.

bbondy avatar Dec 07 '13 23:12 bbondy

n/m I seen it.

bbondy avatar Dec 07 '13 23:12 bbondy

Ya same, seen it when going through the navigation, logged me out and then back in quickly..

Gotta head out to Sonja's Christmas Party... Good work though, website is looking better and better every day

kjozwiak avatar Dec 07 '13 23:12 kjozwiak

Thx again for the help!

bbondy avatar Dec 07 '13 23:12 bbondy