mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Update smm rules to relax
This commit is contained in:
parent
94761ba7c6
commit
ef10237cfe
@ -44,7 +44,7 @@ if 'authResult>0' in rspdata:
|
||||
tokens = fromstring(rspdata)
|
||||
st2 = tokens.findall('st2')[0].text
|
||||
w.set_header('ST2', st2)
|
||||
rules = 'set=passwordDurationDays:0,passwordExpireWarningDays:0,passwordChangeInterval:0,passwordChangeInterval:0'
|
||||
rules = 'set=passwordDurationDays:0,passwordExpireWarningDays:0,passwordChangeInterval:0,passwordReuseCheckNum:0,passwordFailAllowdNum:0,passwordLockoutTimePeriod:0'
|
||||
w.request('POST', '/data', rules)
|
||||
rsp = w.getresponse()
|
||||
print(repr(rsp.read()))
|
||||
|
Loading…
Reference in New Issue
Block a user