misc_pterodactyl-panel/resources/assets/scripts/components/forms/CSRF.vue
2018-12-29 17:00:50 -08:00

14 lines
298 B
Vue

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