Password last-changed date displayed as epoch-1
Bug #65764 reported by
Rocco Stanzione
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kde-guidance (Ubuntu) |
Fix Released
|
Undecided
|
Sebastian Kügler |
Bug Description
Create a new user. Before setting the password, the last-changed field displays 12/31/1969 (probably varies depending on locale etc.). Set the password, and the date does not change. Save the user and it does not change. Log in as the user and change the password immediately (as required) and it still doesn't change. Close and restart systemsettings, and there is finally a new value there. Mostly, though, I just think the epoch-1 date should be displayed as something like N/A.
To post a comment you must log in.
It looks like what I'm asking for is pretty close to the intended behavior, from userconfig.py:
if self.userobj. getLastPassword Change( )is None:
self. lastchangelabel .setText( '-');
Notice the lack of a space between "()" and "is", which looks like a typo. If that's not the problem, it's probably one of the FIXME's in unixauthdb.py, or a disconnect between "None" (the string) in unixauthdb.py and None as it appears above.