Ocelot-Social/webapp/pages/password-reset.vue
Wolfgang Huß 259a58cab9 Change svg's width and height from 100% to explicit px of viewBox
- Set a link on password-reset image.
2021-01-07 15:33:26 +01:00

40 lines
911 B
Vue

<template>
<ds-container width="small" class="password-reset">
<base-card>
<template #imageColumn>
<a :href="links.ORGANIZATION" :title="$t('login.moreInfo', metadata)" target="_blank">
<img class="image" alt="Reset your password" src="/img/custom/password-reset.svg" />
</a>
</template>
<nuxt-child />
<template #topMenu>
<locale-switch offset="5" />
</template>
</base-card>
</ds-container>
</template>
<script>
import links from '~/constants/links.js'
import metadata from '~/constants/metadata.js'
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
export default {
components: {
LocaleSwitch,
},
layout: 'no-header',
data() {
return {
metadata,
links,
}
},
asyncData({ store, redirect }) {
if (store.getters['auth/isLoggedIn']) {
redirect('/')
}
},
}
</script>