mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
42 lines
908 B
Vue
42 lines
908 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">
|
|
<logo type="passwordReset" />
|
|
</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'
|
|
import Logo from '~/components/Logo/Logo'
|
|
|
|
export default {
|
|
components: {
|
|
LocaleSwitch,
|
|
Logo,
|
|
},
|
|
layout: 'no-header',
|
|
data() {
|
|
return {
|
|
metadata,
|
|
links,
|
|
}
|
|
},
|
|
asyncData({ store, redirect }) {
|
|
if (store.getters['auth/isLoggedIn']) {
|
|
redirect('/')
|
|
}
|
|
},
|
|
}
|
|
</script>
|