X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_nbi%2Fadmin_topics.py;h=b695693a65869c88b0289f9723911e7e16181fbe;hb=4f73bd0628866f19f15f2361b667b9adc7443501;hp=51a696394a4f6bde318e69d6074c8f22a374760d;hpb=d1eaf98e0c5ccf46aab538dcd5659ecb23b85559;p=osm%2FNBI.git diff --git a/osm_nbi/admin_topics.py b/osm_nbi/admin_topics.py index 51a6963..b695693 100644 --- a/osm_nbi/admin_topics.py +++ b/osm_nbi/admin_topics.py @@ -442,7 +442,6 @@ class CommonVimWimSdn(BaseTopic): } content["resources"] = {"compute": compute, "storage": storage, "network": network} - return "{}:0".format(content["_id"]) def delete(self, session, _id, dry_run=False, not_send_msg=None): @@ -569,7 +568,7 @@ class WimAccountTopic(CommonVimWimSdn): schema_new = wim_account_new_schema schema_edit = wim_account_edit_schema multiproject = True - password_to_encrypt = "wim_password" + password_to_encrypt = "password" config_to_encrypt = {} @@ -1145,6 +1144,7 @@ class UserTopicAuth(UserTopic): "_id": _id, "username": indata.get("username"), "password": indata.get("password"), + "old_password": indata.get("old_password"), "add_project_role_mappings": mappings_to_add, "remove_project_role_mappings": mappings_to_remove, }