[FIX] csrf

This commit is contained in:
QS5ELkMu
2018-11-27 14:53:28 +01:00
parent e5b2a583e9
commit 2b941628b3

View File

@@ -16,7 +16,7 @@ class WubookPushURL(http.Controller):
# Called when created a reservation in wubook
@http.route(['/wubook/push/reservations/<string:security_token>'],
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')