Modify

Opened 4 years ago

Closed 4 years ago

#6978 closed enhancement (fixed)

last login not relevant when never connected

Reported by: dr4ke@… Owned by: pacopablo
Priority: normal Component: DirectoryAuthPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

In the Admin -> Accounts -> User page, we have the list of users and their last login time.

The last login time seams to be initialized to the time the account was added into the authorized AD group. It would be better if this time was set to 1/1/1970 0:0:0 (for example, or not set at all ?) instead as we would be able to identify the accounts that are never used.

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by dr4ke@…

  • Component changed from AccountManagerPlugin to ActiveDirectoryAuthPlugin

I've read the http://pacopablo.com/blog/pacopablo/blog/set-assign-to-drop-down page. I now understand why the last logon time is set.

So, as we can't leave it blank, i suggest to set it to epoch by default. Would it be possible ?

comment:2 Changed 4 years ago by dr4ke@…

  • Owner changed from mgood to pacopablo

Sorry, i misassigned the ticket. I fix it now.

comment:3 Changed 4 years ago by pacopablo

  • Status changed from new to assigned

so, yeah, we could set the time to 0. Even though it's the beginning of the epoch, it has the side-effect of making it appear that the last login time is blank. I will commit a patch.

comment:4 Changed 4 years ago by pacopablo

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [9329]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.