misc_pterodactyl-panel/resources/assets/scripts/components/forms/CSRF.vue

15 lines
288 B
Vue
Raw Normal View History

2018-03-31 21:44:20 +00:00
<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>