Modify

Opened 7 years ago

Closed 7 years ago

#6978 closed enhancement (fixed)

last login not relevant when never connected

Reported by: Christophe Drevet Owned by: John Hampton
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 7 years ago by Christophe Drevet

Component: AccountManagerPluginActiveDirectoryAuthPlugin

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 7 years ago by Christophe Drevet

Owner: changed from Matt Good to John Hampton

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

comment:3 Changed 7 years ago by John Hampton

Status: newassigned

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 7 years ago by John Hampton

Resolution: fixed
Status: assignedclosed

Fixed in [9329]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.