This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user