Remove unused `get_logon_handle()` from `infection_monkey/utils/windows/users.py`
This commit is contained in:
parent
b59213fb8b
commit
635418b8f5
|
@ -108,9 +108,6 @@ class AutoNewWindowsUser(AutoNewUser):
|
|||
|
||||
return exit_code
|
||||
|
||||
def get_logon_handle(self):
|
||||
return self.logon_handle
|
||||
|
||||
def __exit__(self, _exc_type, value, traceback):
|
||||
# Logoff
|
||||
self.logon_handle.Close()
|
||||
|
|
Loading…
Reference in New Issue