31 lines
588 B
Vue
31 lines
588 B
Vue
<template>
|
|
<div>
|
|
<h2>
|
|
<Icon v="user"/>
|
|
<T>user.headerLong</T>
|
|
</h2>
|
|
|
|
<Account v-if="$user()"/>
|
|
<MfaValidation v-else-if="preToken"/>
|
|
<Login v-else/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { head } from "../src/helpers";
|
|
import {mapState} from "vuex";
|
|
|
|
export default {
|
|
computed: {
|
|
...mapState([
|
|
'preToken',
|
|
]),
|
|
},
|
|
head() {
|
|
return head({
|
|
title: this.$t('user.headerLong'),
|
|
});
|
|
},
|
|
}
|
|
</script>
|