

def authenticate(self, username, password):
    user = self.application.authenticate(username=username, password=password)
    if (user is not None):
        self.session['user_id'] = self.id

dataset/ETHPy150Open niwinz/tornado-webtools/webtools/auth/handlers.py AuthHandlerMixin.authenticate/VarMisuse@48/54 `user`->`self`