Fix change_password option is not enabled in the user management user-update command 60/13560/2
authorselvi.j <selvi.j@tataelxsi.co.in>
Tue, 20 Jun 2023 19:35:14 +0000 (19:35 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 21 Jun 2023 12:01:40 +0000 (14:01 +0200)
Change-Id: Ia543fd979996c50d03f388f97ac6f15fd981b369
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
osmclient/cli_commands/rbac.py

index d8f2068..25e72d0 100755 (executable)
@@ -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: