From 15bd2b13cac076c4a9e9e545ec3f6bc5d0fa416e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 25 Apr 2021 17:20:19 +0200 Subject: [PATCH] things --- server/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/server.py b/server/server.py index 49da332..80df9f1 100644 --- a/server/server.py +++ b/server/server.py @@ -12,12 +12,12 @@ class Server: self.sessionTimeout = sessionTimeout self.availableServer = availableServer self.executor = Executor(homeDirectory) + self.auth=Authetication() self.networkInstance = NetWrapper(_,_,self) def login(self, username: str, password: str) -> bool: - auth = Authetication() self.isAuthenticated = True - home_directory = auth.login(username, password) + home_directory = self.auth.login(username, password) self.executor.baseDir=Executor(home_directory) if not home_directory: return False