mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
Fix the incorrect parameter name in setting password policy
The mistake was keeping the requisite rule from applying
This commit is contained in:
parent
d651c29149
commit
777bdfac5c
@ -236,7 +236,7 @@ class NodeHandler(immhandler.NodeHandler):
|
||||
rsp = wc.getresponse()
|
||||
rsp.read()
|
||||
# We must step down change interval and reusecycle to restore password
|
||||
wc.grab_json_response('/api/dataset', {'USER_GlabalMinPassChgInt': '0', 'USER_GlobalMinPassReuseCycle': '0'})
|
||||
wc.grab_json_response('/api/dataset', {'USER_GlobalMinPassChgInt': '0', 'USER_GlobalMinPassReuseCycle': '0'})
|
||||
wc.request('POST', '/api/function', json.dumps(
|
||||
{'USER_UserPassChange': '1,{0}'.format(password)}))
|
||||
rsp = wc.getresponse()
|
||||
|
Loading…
Reference in New Issue
Block a user