[CLN] payment: unnecessary csrf token

The csrf token given to the assignTokenRoute is not necessary
and will trigger warnings in the logs.

closes odoo/odoo#94020

Related: odoo/enterprise#28595
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Victor Feyens
2022-07-28 10:27:55 +02:00
parent 5e2d675149
commit d3c935ff27
@@ -55,7 +55,6 @@ odoo.define('payment.manage_form', require => {
params: {
'access_token': this.txContext.accessToken,
'token_id': tokenId,
'csrf_token': core.csrf_token,
}
}).then(() => {
window.location = this.txContext.landingRoute;