mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
* Make login, registration, password-reset layout brandable - Rename some variables related to this * Remove experimental code * add lodash types * fix build fix type --------- Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
45 lines
1.1 KiB
Vue
45 lines
1.1 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 loginConstants from '~/constants/loginBranded.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: loginConstants.LAYOUT,
|
|
data() {
|
|
return {
|
|
metadata,
|
|
links,
|
|
}
|
|
},
|
|
asyncData({ store, redirect }) {
|
|
if (store.getters['auth/isLoggedIn']) {
|
|
redirect('/')
|
|
}
|
|
},
|
|
}
|
|
</script>
|