2018-03-31 21:44:20 +00:00
|
|
|
<template>
|
|
|
|
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN" />
|
|
|
|
</template>
|
|
|
|
|
2018-12-30 01:00:50 +00:00
|
|
|
<script lang="ts">
|
2018-03-31 21:44:20 +00:00
|
|
|
export default {
|
|
|
|
name: 'csrf',
|
|
|
|
data: function () {
|
|
|
|
return {
|
|
|
|
X_CSRF_TOKEN: window.X_CSRF_TOKEN,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|