misc_pterodactyl-panel/resources/assets/scripts/components/forms/CSRF.vue
Dane Everitt b35eb77a70
Remove the pterodactyl directory when handling assets
This supports moving away from multiple-theme support in the Panel since that is no longer going to be offered.
2018-05-26 12:33:27 -07: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>