misc_pterodactyl-panel/resources/assets/scripts/components/forms/CSRF.vue
2019-02-09 21:15:45 -08:00

16 lines
338 B
Vue

<template>
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN"/>
</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>