1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-17 15:12:42 +00:00

Implement better user status API, in the future we'll probably want a way to disable users.

We should migrate from the empty password hash to a separate column then.
This commit is contained in:
Daniel García 2019-04-13 00:01:52 +02:00
commit 0136c793b4
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
2 changed files with 17 additions and 4 deletions

View file

@ -13,9 +13,9 @@
{{#if TwoFactorEnabled}}
<span class="badge badge-success ml-2">2FA</span>
{{/if}}
{{#unless _Enabled}}
<span class="badge badge-warning ml-2">Disabled</span>
{{/unless}}
{{#case _Status 1}}
<span class="badge badge-warning ml-2">Invited</span>
{{/case}}
<span class="d-block">{{Email}}</span>
</div>
<div class="col">