helper to have csrf checked selectively on routes

merge-requests/208/head
fatchan 5 years ago
parent 881bdf946e
commit 3ffa8ef51a
  1. 5
      helpers/csrfmiddleware.js

@ -0,0 +1,5 @@
'use strict';
const csrf = require('csurf')
module.exports = csrf();
Loading…
Cancel
Save