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
parent 2e12114350
commit 0136c793b4
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">