Browse Source

Signed-off-by: Russ Whitehead <william.whitehead@lexisnexis.com>

Russ Whitehead 8 years ago
parent
commit
2e8714e625
1 changed files with 1 additions and 5 deletions
  1. 1 5
      tools/addScopes/addScopes.cpp

+ 1 - 5
tools/addScopes/addScopes.cpp

@@ -80,13 +80,9 @@ int main(int argc, char* argv[])
                 releaseAtoms();
                 return -1;
             }
-            Owned<ISecUser> user = secmgr->createUser(sysuser.str());
-            ISecCredentials& cred = user->credentials();
+
             StringBuffer decPwd;
             decrypt(decPwd, passbuf.str());
-            cred.setPassword(decPwd.str());
-            ok = secmgr->clearPermissionsCache(*user);
-            printf(ok ? "ESP Cache cleared\n" : "Error clearing ESP Cache\n");
 
             //Clear Dali cache
             Owned<IUserDescriptor> userdesc(createUserDescriptor());