Ocelot-Social/webapp/pages/password-reset.vue
roschaefer bc70e8b3b0 refactor: Image paths
* removed obsolete images
* moved all overwritable images to a location webapp/static/img/custom/
* better names
2020-06-05 11:49:18 +02:00

30 lines
645 B
Vue

<template>
<ds-container width="small" class="password-reset">
<base-card>
<template #imageColumn>
<img alt="Reset your password" src="/custom/password-reset.svg" class="image" />
</template>
<nuxt-child />
<template #topMenu>
<locale-switch offset="5" />
</template>
</base-card>
</ds-container>
</template>
<script>
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
export default {
components: {
LocaleSwitch,
},
layout: 'no-header',
asyncData({ store, redirect }) {
if (store.getters['auth/isLoggedIn']) {
redirect('/')
}
},
}
</script>