Merge pull request #8824 from tlerias/fix/remove-pledge

Send CSRF Value in Remove Pledge Form Submit
This commit is contained in:
Logan Tegman
2016-05-27 17:26:50 -07:00

View File

@ -71,6 +71,7 @@ block content
if pledge if pledge
form.row(name='stop-pledge' action='/commit/stop-commitment' method='post') form.row(name='stop-pledge' action='/commit/stop-commitment' method='post')
input(type='hidden', name='_csrf', value=_csrf)
.col-xs-12.col-sm-6.col-sm-offset-3.text-center .col-xs-12.col-sm-6.col-sm-offset-3.text-center
.button-spacer .button-spacer
button.btn.btn-block.btn-lg.btn-default(name='submit' type='submit') Stop my current pledge button.btn.btn-block.btn-lg.btn-default(name='submit' type='submit') Stop my current pledge