Newer
Older
Eliot Berriot
committed
<template>
Eliot Berriot
committed
<div class="ui vertical stripe segment">
<div class="ui small text container">
<translate>Are you sure you want to log out?</translate>
</h2>
<p v-translate="{username: $store.state.auth.username}">You are currently logged in as %{ username }</p>
<button class="ui button" @click="$store.dispatch('auth/logout')"><translate>Yes, log me out!</translate></button>
Eliot Berriot
committed
</div>
</div>
</div>
</template>
<script>
export default {
Eliot Berriot
committed
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>