mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 13:55:01 +02:00
Remove unnecessary Username from footer
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="content has-text-centered">
|
||||
{{ $t('auth.hello', {username: username}) }} <router-link :to="{ name: 'profile' }" class="has-text-grey">{{ $t('commons.profile') }}</router-link> - <a class="has-text-grey" @click="logout">{{ $t('auth.sign_out') }}</a>
|
||||
<router-link :to="{ name: 'profile' }" class="has-text-grey">{{ $t('commons.profile') }}</router-link> - <a class="has-text-grey" @click="logout">{{ $t('auth.sign_out') }}</a>
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
@ -19,7 +19,6 @@
|
||||
|
||||
data(){
|
||||
return {
|
||||
username : null,
|
||||
}
|
||||
},
|
||||
|
||||
@ -27,10 +26,6 @@
|
||||
showButtons: true,
|
||||
},
|
||||
|
||||
created() {
|
||||
this.username = localStorage.getItem('user')
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
async logout(evt) {
|
||||
|
Reference in New Issue
Block a user