From 2b941628b31ff9ef3d35bdc78045818e0296d525 Mon Sep 17 00:00:00 2001 From: QS5ELkMu Date: Tue, 27 Nov 2018 14:53:28 +0100 Subject: [PATCH] [FIX] csrf --- hotel_channel_connector_wubook/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotel_channel_connector_wubook/controllers/main.py b/hotel_channel_connector_wubook/controllers/main.py index 6801dfb1f..6b1d32e0f 100644 --- a/hotel_channel_connector_wubook/controllers/main.py +++ b/hotel_channel_connector_wubook/controllers/main.py @@ -16,7 +16,7 @@ class WubookPushURL(http.Controller): # Called when created a reservation in wubook @http.route(['/wubook/push/reservations/'], type='http', cors="*", auth="public", methods=['POST'], - website=True, csrf=True) + website=True, csrf=False) def wubook_push_reservations(self, security_token, **kwargs): rcode = kwargs.get('rcode') lcode = kwargs.get('lcode')