'use strict'; const _ = require('lodash'); const { ObjectId } = require('mongoose').Types; module.exports = options => { return async function stoken(ctx, next) { await next(); ctx.body.stoken = ctx.csrf; }; };