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

Add user's last_login_on time to ViewCustomize context #51

Merged
merged 1 commit into from Oct 3, 2019

Conversation

@iquiw
Copy link
Contributor

commented Oct 2, 2019

This adds user.last_login_on in ISO8601 format as ViewCustomize.user.last_login_on.

I am not sure this is useful for others, but I'd like to use it as a workaround of the following issue.
Defect #24906: Session expiration not visible when editing issues - Redmine

(Displaying alert if login time is more than some threshold past before the current time. There may be better way to do this though...)

I hope it is OK to include the change.

P.S. View customize is the most useful Redmine plugin, thanks!

@onozaty

This comment has been minimized.

Copy link
Owner

commented Oct 3, 2019

It is OK. I would like to merge after confirming.
Thanks!

@onozaty onozaty changed the base branch from master to develop/2.5.0 Oct 3, 2019
@onozaty onozaty merged commit 0f79cbd into onozaty:develop/2.5.0 Oct 3, 2019
@iquiw iquiw deleted the iquiw:last_login_on branch Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.