<template>
  <app-message message="You are logged out.">
    <h1 slot="icon">🎉</h1>
  </app-message>
</template>

<script>
import auth from "~/utils/auth";

export default {
  layout: "default",
  mounted() {
    auth.logout();
    this.$router.replace('/')
  }
};
</script>
