mirror of https://github.com/rancher/dashboard.git
21 lines
402 B
Vue
21 lines
402 B
Vue
<script>
|
|
import { LOGGED_OUT } from '@/config/query-params';
|
|
|
|
export default {
|
|
layout: 'unauthenticated',
|
|
|
|
async created() {
|
|
await this.$store.dispatch('auth/logout', null, { root: true });
|
|
await this.$router.replace({ path: `/auth/login?${ LOGGED_OUT }` });
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<main>
|
|
<h1 class="text-center mt-50">
|
|
Logging Out…
|
|
</h1>
|
|
</main>
|
|
</template>
|