Fix bug 2150 to encrypt correct WIM account password field and check WIM accounts.
[osm/NBI.git] / osm_nbi / instance_topics.py
index 16bd406..c60445f 100644 (file)
@@ -1602,7 +1602,7 @@ class NsLcmOpTopic(BaseTopic):
         if wim_account in wim_accounts:
             return
         try:
-            db_filter = self._get_project_filter(session, write=False, show_all=True)
+            db_filter = self._get_project_filter(session)
             db_filter["_id"] = wim_account
             self.db.get_one("wim_accounts", db_filter)
         except Exception: