From: selvi.j Date: Tue, 20 Jun 2023 19:35:14 +0000 (+0000) Subject: Fix change_password option is not enabled in the user management user-update command X-Git-Tag: release-v14.0-start~12 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F13560%2F2;hp=7209d5da87b16d5ee2b4f1aef277ad0a4f81b670;p=osm%2Fosmclient.git Fix change_password option is not enabled in the user management user-update command Change-Id: Ia543fd979996c50d03f388f97ac6f15fd981b369 Signed-off-by: selvi.j --- diff --git a/osmclient/cli_commands/rbac.py b/osmclient/cli_commands/rbac.py index d8f2068..25e72d0 100755 --- a/osmclient/cli_commands/rbac.py +++ b/osmclient/cli_commands/rbac.py @@ -429,7 +429,6 @@ def user_update( user["renew"] = renew utils.check_client_version(ctx.obj, ctx.command.name) - ctx.obj.user.update(username, user) if not user.get("change_password"): ctx.obj.user.update(username, user) else: