Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lastLogin time be floored to the second instead of microtime #755

Merged
merged 4 commits into from
Dec 21, 2018

Conversation

plessbd
Copy link
Contributor

@plessbd plessbd commented Dec 20, 2018

This specifically removes the microtime from lastLoginTimestamp, but will also effect this line: https://github.com/ubccr/xdmod/blob/xdmod8.1/html/index.php#L520

Which will now show the ProfileEditor for Single Sign On (SSO) users that just so happen to have their account created and their login happen within the same second.

This maintains the previous functionality.

This does not address the following issues:
User is created and the first login does not happen in the same second (all non SSO users)
User refreshes the page / leaves and comes back without logging out will continue to see the profile editor dialog.

This might be fixed at a later date.

@plessbd plessbd merged commit 8579517 into ubccr:xdmod8.1 Dec 21, 2018
@plessbd plessbd deleted the timeFix branch December 21, 2018 13:55
@plessbd plessbd added this to the 8.1.0 milestone Feb 1, 2019
@plessbd plessbd added the bug Bugfixes label Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants