agola-web/src/views/Logout.vue
2019-04-02 18:27:28 +02:00

14 lines
168 B
Vue

<script>
import { logout } from "@/util/auth";
export default {
name: "Logout",
created: function() {
logout();
this.$router.push("/");
}
};
</script>