mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] csrf
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user