This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2020-10-13 12:49:08 -07:00
|
|
|
<template>
|
2020-11-29 02:03:01 -08:00
|
|
|
<div>
|
2020-10-13 12:49:08 -07:00
|
|
|
<h2>
|
|
|
|
<Icon v="user"/>
|
2020-10-14 12:49:18 -07:00
|
|
|
<T>user.headerLong</T>
|
2020-10-13 12:49:08 -07:00
|
|
|
</h2>
|
|
|
|
|
2020-10-15 11:29:56 -07:00
|
|
|
<Account v-if="$user()"/>
|
2021-12-18 10:54:36 -08:00
|
|
|
<MfaValidation v-else-if="preToken"/>
|
2020-10-15 11:29:56 -07:00
|
|
|
<Login v-else/>
|
2020-10-13 12:49:08 -07:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { head } from "../src/helpers";
|
2021-12-18 10:54:36 -08:00
|
|
|
import {mapState} from "vuex";
|
2020-10-13 12:49:08 -07:00
|
|
|
|
|
|
|
export default {
|
2021-12-18 10:54:36 -08:00
|
|
|
computed: {
|
|
|
|
...mapState([
|
|
|
|
'preToken',
|
|
|
|
]),
|
|
|
|
},
|
2020-10-13 12:49:08 -07:00
|
|
|
head() {
|
|
|
|
return head({
|
|
|
|
title: this.$t('user.headerLong'),
|
|
|
|
});
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|