def valid_hash(self, hash): if self == c.oauth_user: # OAuth authenticated requests do not require CSRF protection. return True else: return valid_hash(self, hash)
def valid_hash(self, hash): return valid_hash(self, hash)