Risolto problema che non loggava correttamente

This commit is contained in:
paolo
2018-12-06 20:07:51 +01:00
parent 45be1e02c5
commit 056dfc16f4
17 changed files with 203 additions and 187 deletions

View File

@@ -1,5 +1,6 @@
<template>
<div>
User: {{ Username}}
<div id="profile" v-if="Username">
<img :src="photo" style='height: 80px' class="inline-block">
<img src="../img/avatar-1.svg" id="avatar" class="inline-block">
@@ -8,7 +9,7 @@
<hr>
<span class="text-white" v-if="Verificato"> {{$t('reg.verificato')}} </span>
<span class="text-white" v-else> {{$t('reg.non_verificato')}} </span>
<span class="text-white"> {{ getEmail }} </span>
<span class="text-white"> {{ Email }} </span>
</div>
<div id="user-actions">
<q-btn round color="primary" icon="person"></q-btn>
@@ -91,6 +92,10 @@
return UserStore.state.verifiedEmail
}
get Email () {
return UserStore.state.email
}
logoutHandler() {
UserStore.actions.logout()
this.$q.notify(this.$t('logout.uscito'))