mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-02 13:14:23 +01:00
27 lines
851 B
Vue
27 lines
851 B
Vue
<template>
|
|
<form-wrapper :title="$t('auth.autolock_triggered')" :punchline="$t('auth.autolock_triggered_punchline')">
|
|
<p>{{ $t('auth.change_autolock_in_settings') }}</p>
|
|
<div class="nav-links">
|
|
<p><router-link :to="{ name: 'login', params: {forceRefresh : true} }" class="button is-link">{{ $t('auth.sign_in') }}</router-link></p>
|
|
</div>
|
|
<!-- footer -->
|
|
<vue-footer></vue-footer>
|
|
</form-wrapper>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data(){
|
|
return {
|
|
}
|
|
},
|
|
|
|
mounted() {
|
|
this.axios.get('/user/logout', {returnError: true}).catch(error => {
|
|
// there is nothing to do, we simply catch the error to avoid redondant navigation
|
|
});
|
|
|
|
this.$storage.clear()
|
|
},
|
|
}
|
|
</script> |