Set expiry date to 1970-01-01 to disable account

Currently, we set the expiry date to 1970-01-02 to disable account.
When BMC time is 1970-01-01 (default time when RTC is not present),
disabling account will not work as expected. This patch fixes this
issue by setting the expiry date to 1970-01-01.

Tested:
Verified account will no longer be able to log in after disabling it
on 1970-01-01.

Change-Id: Idee0976a5844d742c09bc9ab7383b81a20fadc23
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
1 file changed