Revert "Feature 10941: User Management Enhancements"
[osm/NBI.git] / osm_nbi / admin_topics.py
index de0ad1f..8960961 100644 (file)
@@ -1000,8 +1000,6 @@ class UserTopicAuth(UserTopic):
                 or indata.get("project_role_mappings")
                 or indata.get("projects")
                 or indata.get("add_projects")
-                or indata.get("unlock")
-                or indata.get("renew")
             ):
                 return _id
             if indata.get("project_role_mappings") and (
@@ -1124,9 +1122,6 @@ class UserTopicAuth(UserTopic):
                     "old_password": indata.get("old_password"),
                     "add_project_role_mappings": mappings_to_add,
                     "remove_project_role_mappings": mappings_to_remove,
-                    "system_admin_id": indata.get("system_admin_id"),
-                    "unlock": indata.get("unlock"),
-                    "renew": indata.get("renew"),
                 }
             )
             data_to_send = {"_id": _id, "changes": indata}