mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-02 20:35:50 -05:00
12 lines
257 B
TypeScript
12 lines
257 B
TypeScript
import Vue from 'vue';
|
|
|
|
export default Vue.component('csrf', {
|
|
data: function () {
|
|
return {
|
|
X_CSRF_TOKEN: window.X_CSRF_TOKEN,
|
|
};
|
|
},
|
|
|
|
template: `<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN" />`,
|
|
});
|