This commit is contained in:
		@@ -13,7 +13,7 @@ class Server:
 | 
				
			|||||||
        self.availableServer = availableServer
 | 
					        self.availableServer = availableServer
 | 
				
			||||||
        self.executor = Executor(homeDirectory)
 | 
					        self.executor = Executor(homeDirectory)
 | 
				
			||||||
        self.auth=Authetication()
 | 
					        self.auth=Authetication()
 | 
				
			||||||
        self.networkInstance = NetWrapper(_,_,self)
 | 
					        self.networkInstance = NetWrapper(self.auth.loadUserPublicKeys(),self.auth.loadServerPrivateKey(),self)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def login(self, username: str, password: str) -> bool:
 | 
					    def login(self, username: str, password: str) -> bool:
 | 
				
			||||||
        self.isAuthenticated = True
 | 
					        self.isAuthenticated = True
 | 
				
			||||||
@@ -89,3 +89,9 @@ class Server:
 | 
				
			|||||||
                pass
 | 
					                pass
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            return "ERROR"
 | 
					            return "ERROR"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def startServer(self):
 | 
				
			||||||
 | 
					        while (True):
 | 
				
			||||||
 | 
					            self.networkInstance.recieveMessage()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    startServer()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user