Merge pull request #594 from Human-Connection/296-image_component-leftover

Revert logout.vue
This commit is contained in:
Robert Schäfer 2019-05-13 12:40:01 +02:00 committed by GitHub
commit 74109256b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,11 @@
margin-bottom="xxx-small"
centered
>
<hc-image
<img
style="width: 200px;"
:image-props="imageProps"
src="/img/sign-up/onourjourney.png"
alt="Human Connection"
/>
>
</ds-space>
<ds-space
style="text-align: center;"
@ -36,17 +36,8 @@
</template>
<script>
import HcImage from '~/components/Image'
export default {
components: {
HcImage
},
layout: 'blank',
computed: {
imageProps() {
return { src: '/img/sign-up/onourjourney.png' }
}
},
async beforeCreate() {
await this.$store.dispatch('auth/logout')
this.$router.replace('/')