diff --git a/superTornado.py b/superTornado.py index 435d92b..48c4d11 100644 --- a/superTornado.py +++ b/superTornado.py @@ -92,10 +92,10 @@ class DisconnectionHandler(BaseHandler): def post(self): if not self.current_user : iden="IllegalUser" - ficLog.enregDansLog(iden,"Authorized user deconnection","IP TO DO") - else : - iden = self.current_use ficLog.enregDansLog(iden,"Unauthorized user deconnection","IP TO DO") + else : + iden = self.current_user + ficLog.enregDansLog(iden,"Authorized user deconnection","IP TO DO") if confAveug == True: