feat: Allow to activate trusted accounts only

This commit is contained in:
aldrin 2021-08-03 11:41:58 +02:00
parent 0f1cd98a80
commit d656370aef
5 changed files with 40 additions and 44 deletions

View file

@ -2,7 +2,7 @@
<div>
<b-notification type="is-info" aria-close-label="Close notification">
Dein Konto ist noch nicht aktiv.
<a @click="activate()">Jetzt aktivieren</a>
<a v-if="user.isTrusted" @click="activate()">Jetzt aktivieren</a>
</b-notification>
<table class="table is-fullwidth">
<tbody>