X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/2336/head:/resources/views/users/edit.blade.php
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php
index 377500193..f78c25ceb 100644
--- a/resources/views/users/edit.blade.php
+++ b/resources/views/users/edit.blade.php
@@ -7,9 +7,9 @@
@include('settings.navbar', ['selected' => 'users'])
-
+
{{ $user->id === $currentUser->id ? trans('settings.users_edit_profile') : trans('settings.users_edit') }}
-
-
+
@if($currentUser->id === $user->id && count($activeSocialDrivers) > 0)
-
+
{{ trans('settings.users_social_accounts') }}
{{ trans('settings.users_social_accounts_info') }}
@foreach($activeSocialDrivers as $driver => $enabled)
-
@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])
+
@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])
@endforeach
-
+
+ @endif
+
+ @if(($currentUser->id === $user->id && userCan('access-api')) || userCan('users-manage'))
+ @include('users.api-tokens.list', ['user' => $user])
@endif