@extends($isAdmin ? 'tyro-dashboard::layouts.admin' : 'tyro-dashboard::layouts.user') @section('title', 'My Profile') @section('breadcrumb') Dashboard / My Profile @endsection @section('content')

Profile Information

@csrf @method('PUT')
@if((config('tyro-dashboard.features.profile_photo_upload') && method_exists($user, 'hasProfilePhotoColumn') && $user->hasProfilePhotoColumn()) || (config('tyro-dashboard.features.gravatar') && method_exists($user, 'hasGravatarColumn') && $user->hasGravatarColumn()))
@if((method_exists($user, 'hasProfilePhotoColumn') && $user->hasProfilePhotoColumn() && $user->profile_photo_path) || (method_exists($user, 'hasGravatarColumn') && $user->hasGravatarColumn() && $user->use_gravatar && $user->email)) {{ $user->name }} @else
{{ strtoupper(substr($user->name, 0, 1)) }}
@endif
@if(config('tyro-dashboard.features.profile_photo_upload') && method_exists($user, 'hasProfilePhotoColumn') && $user->hasProfilePhotoColumn())

Allowed types: jpg, png, gif, webp. Max size: {{ config('tyro-dashboard.profile_photo.max_size', 10240) / 1024 }}MB.

@endif
@if(method_exists($user, 'hasProfilePhotoColumn') && $user->hasProfilePhotoColumn() && $user->profile_photo_path)
@endif @if(config('tyro-dashboard.features.gravatar') && method_exists($user, 'hasGravatarColumn') && $user->hasGravatarColumn())
use_gravatar) ? 'checked' : '' }}>
@endif
@endif
@error('name') {{ $message }} @enderror
@error('email') {{ $message }} @enderror {{-- @if($user->email_verified_at) Email verified on {{ $user->email_verified_at->format('M d, Y') }} @else Email not verified @endif --}}

Update Password

@csrf @method('PUT')
@error('current_password') {{ $message }} @enderror
@error('password') {{ $message }} @enderror
@if(config('tyro-login.two_factor.enabled'))

Two-Factor Authentication (2FA)

@if($user->two_factor_secret)

Two-factor authentication is currently enabled for your account.

@csrf @method('DELETE')
@else

Two-factor authentication is currently disabled for your account.

@endif
@endif

Account Information

#{{ $user->id }}

{{ $user->created_at->format('F d, Y') }}

@if(method_exists($user, 'roles') && $user->roles->count())
@foreach($user->roles as $role) {{ $role->name }} @endforeach
@endif

@if(method_exists($user, 'isSuspended') && $user->isSuspended()) Suspended @else Active @endif

@endsection