mirror of
https://opendev.org/x/pyghmi
synced 2026-06-16 08:30:52 +00:00
Merge "Fix password epiration set in xcc3"
This commit is contained in:
@@ -270,7 +270,7 @@ class OEMHandler(generic.OEMHandler):
|
||||
acctattribs['Oem']['Lenovo'][
|
||||
self.oemacctmap[key.lower()]] = currval
|
||||
if key.lower() == 'password_expiration':
|
||||
warntime = str(int(int(currval) * 0.08))
|
||||
warntime = int(int(currval) * 0.08)
|
||||
acctattribs['Oem']['Lenovo'][
|
||||
'PasswordExpirationWarningPeriod'] = warntime
|
||||
elif key.lower() in self.acctmap:
|
||||
|
||||
Reference in New Issue
Block a user