My Profile

{{-- Avatar + Identity card --}}
@if(auth()->user()->avatar) avatar @else
{{ strtoupper(substr(auth()->user()->name, 0, 1)) }}
@endif

{{ auth()->user()->name }}

{{ auth()->user()->email }}

{{ auth()->user()->role ?? 'Owner' }}
{{-- Profile Information --}}

Profile Information

Update your account name, email and photo.

@if(session('status') === 'avatar-updated')
Profile photo updated successfully.
@endif @error('avatar')
{{ $message }}
@enderror {{-- Avatar upload with Cropper.js --}}
avatar @if(!auth()->user()->avatar)
{{ strtoupper(substr(auth()->user()->name, 0, 1)) }}
@endif
@csrf

JPG, PNG or WebP · max 4 MB · Will be cropped to square

{{-- Cropper Modal --}}

Crop Profile Photo

@csrf @method('PATCH')
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@if($mustVerifyEmail && !auth()->user()->email_verified_at)

Your email address is unverified. Click here to re-send the verification email.

@if(session('status') === 'verification-link-sent')
A new verification link has been sent to your email address.
@endif @endif
@if(session('status') === 'profile-updated')

Saved successfully.

@endif
{{-- Update Password --}}

Update Password

Use a long, random password to keep your account secure.

@csrf @method('PUT')
@if($errors->updatePasswordForm->has('current_password'))

{{ $errors->updatePasswordForm->first('current_password') }}

@endif
@if($errors->updatePasswordForm->has('password'))

{{ $errors->updatePasswordForm->first('password') }}

@endif
@if(session('status') === 'password-updated')
Password updated successfully.
@endif @if($errors->updatePasswordForm->any())
    @foreach($errors->updatePasswordForm->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
{{-- Delete Account --}}

Delete Account

Once your account is deleted, all data will be permanently removed.

{{-- Confirm modal --}}

Are you sure?

Once your account is deleted, all data will be permanently removed. Enter your password to confirm.

@csrf @method('DELETE')
@error('password', 'userDeletion')

{{ $message }}

@enderror