Opened 7 years ago

Closed 6 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


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 7 years ago by dr4Ke

  • Component changed from AccountManagerPlugin to ActiveDirectoryAuthPlugin

I've read the 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 7 years ago by dr4Ke

  • Owner changed from mgood to pacopablo

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

comment:3 Changed 6 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 6 years ago by pacopablo

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

Fixed in [9329]

Add Comment

Modify Ticket

as closed The owner will remain pacopablo.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.