From 777bdfac5cbbb05ac20282f2ce123f3c55906655 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 30 Mar 2022 11:16:33 -0400 Subject: [PATCH] Fix the incorrect parameter name in setting password policy The mistake was keeping the requisite rule from applying --- confluent_server/confluent/discovery/handlers/xcc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/handlers/xcc.py b/confluent_server/confluent/discovery/handlers/xcc.py index fbd54801..537cf285 100644 --- a/confluent_server/confluent/discovery/handlers/xcc.py +++ b/confluent_server/confluent/discovery/handlers/xcc.py @@ -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()