<template>
  <v-container class="d-flex flex-column align-center justify-center" style="height: 100vh;">
    <v-progress-circular indeterminate color="primary" />
    <p class="mt-4">Cerrando sesión…</p>
  </v-container>
</template>

<script>
import AuthService from '@/services/auth';

export default {
  name: 'DonConfiao',
  mounted() {
    this.logout();
  },
  methods: {
    logout() {
      AuthService.logout();
      this.$router.push({
        path: '/autenticarse'
      });
    },
  },
};
</script>

<style scoped>
p {
  font-size: 1.1rem;
  color: #555;
}
</style>
