2019-02-10 05:14:58 +00:00
|
|
|
<template>
|
2019-02-10 05:15:45 +00:00
|
|
|
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN"/>
|
2019-02-10 05:14:58 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
name: 'CSRF',
|
|
|
|
data: function () {
|
|
|
|
return {
|
|
|
|
X_CSRF_TOKEN: window.X_CSRF_TOKEN,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
});
|
|
|
|
</script>
|