Auth::id(), 'key' => 'notifications'], ['value' => $this->notifications]); Setting::updateOrCreate(['user_id' => Auth::id(), 'key' => 'public'], ['value' => $this->public]); $this->dispatch('toastMagic', status: 'success', title: 'Settings saved', message: 'The settings have succesfully been saved.' ); } }; ?>
PatchBook

Account

Your profile and security settings.

{{ strtoupper(substr(auth()->user()->name ?? 'U', 0, 1)) }}

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

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

Member since

{{ optional(auth()->user()->created_at)->format('d M Y') ?? 'Unknown' }}

@if(Auth::user()->password) @endif
@csrf

Preferences