@extends('layouts.dashboard') @section('page_title', 'SHOW USER') @section('content')

User Details

Back
Name
{{ $user->name ?: 'N/A' }}
Email
{{ $user->email ?: 'N/A' }}
Two-Factor Authentication
@if($user->two_factor_enabled) Enabled

Your account is protected with an extra layer of security.

@else Disabled

Add an extra layer of security to your account by enabling 2FA.

@endif
@php $isOwner = Auth::id() == $user->id; @endphp @if($isOwner) @if($user->two_factor_enabled)
@csrf
@else Enable 2FA @endif @endif
Roles
@if(!empty($user->getRoleNames())) @foreach($user->getRoleNames() as $v) {{ $v }} @endforeach @else No roles assigned @endif
@push('styles') @endpush @endsection