mirror of
https://github.com/sismics/docs.git
synced 2025-12-22 14:11:39 +00:00
display two-factor authentication activation in admin area
This commit is contained in:
@@ -216,6 +216,7 @@
|
||||
"add_user": "Add a user",
|
||||
"username": "Username",
|
||||
"create_date": "Create date",
|
||||
"totp_enabled": "Two-factor authentication enabled for this account",
|
||||
"edit": {
|
||||
"delete_user_title": "Delete user",
|
||||
"delete_user_message": "Do you really want to delete this user? All associated documents, files and tags will be deleted",
|
||||
|
||||
@@ -15,7 +15,10 @@
|
||||
<tbody>
|
||||
<tr ng-repeat="user in users | orderBy: 'username'" ng-click="editUser(user)"
|
||||
ng-class="{ active: $stateParams.username == user.username }">
|
||||
<td>{{ user.username }}</td>
|
||||
<td>
|
||||
{{ user.username }}
|
||||
<span class="glyphicon glyphicon-lock" ng-show="user.totp_enabled" uib-tooltip="{{ 'settings.user.totp_enabled' | translate }}"></span>
|
||||
</td>
|
||||
<td>{{ user.create_date | date: dateFormat }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user