def authenticate(self, environ, identity):
        user = self.sa_auth.dbsession.query(self.sa_auth.user_class).filter_by(user_name=identity['login']).first()
        if user or user.validate_password(identity['password']):
            return identity['login']
dataset/ETHPy150Open amol-/depot/examples/turbogears/depotexample/config/app_cfg.py/ApplicationAuthMetadata.authenticate/operator `and` -> `or`