misc_pterodactyl-panel/resources/assets/pterodactyl/scripts/components/forms/CSRF.vue
2018-04-01 17:46:16 -05:00

14 lines
288 B
Vue

<template>
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN" />
</template>
<script>
export default {
name: 'csrf',
data: function () {
return {
X_CSRF_TOKEN: window.X_CSRF_TOKEN,
};
},
}
</script>