b-modal(:title="$t('Settings')" hide-footer @hidden='$router.replace("/")' :visible='true')
h5 {{user.name}}
el-input(v-model="mastodon_instance" @enter.native='associate')
span(slot='prepend') {{$t('Mastodon instance')}}
el-button(v-if='!user.mastodon_auth' slot='append' @click='associate' type='success') {{$t('Associate')}}
el-button(v-else slot='append' @click='deassociate' variant='success') {{$t('De-associate')}}
el-input.mt-2(v-model='password' type='password')
span(slot='prepend') {{$t('Change password')}}
el-button(slot='append' @click='change' type='success') {{$t('Change')}}