mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- Implement emails.js in backend as well. - Move backend links.js into emails.js, because code is not a duplicate of webapp anymore.
44 lines
1.0 KiB
Vue
44 lines
1.0 KiB
Vue
<template>
|
|
<ds-container width="small" class="password-reset">
|
|
<base-card>
|
|
<template #imageColumn>
|
|
<page-params-link :pageParams="links.ORGANIZATION" :title="$t('login.moreInfo', metadata)">
|
|
<logo logoType="passwordReset" />
|
|
</page-params-link>
|
|
</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'
|
|
import PageParamsLink from '~/components/_new/features/PageParamsLink/PageParamsLink.vue'
|
|
|
|
export default {
|
|
components: {
|
|
LocaleSwitch,
|
|
Logo,
|
|
PageParamsLink,
|
|
},
|
|
layout: 'no-header',
|
|
data() {
|
|
return {
|
|
metadata,
|
|
links,
|
|
}
|
|
},
|
|
asyncData({ store, redirect }) {
|
|
if (store.getters['auth/isLoggedIn']) {
|
|
redirect('/')
|
|
}
|
|
},
|
|
}
|
|
</script>
|