- @include('users.forms.' . $authMethod, ['model' => $user])
+
+
+
+ {{ trans('settings.users_mfa') }}
+ {{ trans('settings.users_mfa_desc') }}
+
+
+ @if ($mfaMethods->count() > 0)
+ @icon('check-circle')
+ @else
+ @icon('cancel')
+ @endif
+ {{ trans_choice('settings.users_mfa_x_methods', $mfaMethods->count()) }}
-
-
-
-
-
-
-
-
-
-
+
+ @if($user->id === user()->id)
+
{{ trans('settings.users_mfa_configure') }}
+ @endif
-
-
-
+
- @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($driver, ['width' => 56])
-
+ @if(user()->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;'])
+
+
+ @endforeach
- @endforeach
-
+
+
@endif
-
+ @if((user()->id === $user->id && userCan('access-api')) || userCan('users-manage'))
+ @include('users.api-tokens.parts.list', ['user' => $user])
+ @endif
-
- @include('components.image-manager', ['imageType' => 'user'])
@stop