@extends('layouts.main') @section('content')

Edit Profile

Update your account settings and preferences

@if(session('success'))
{{ session('success') }}
@endif @if($success_2fa)
{{ $success_2fa }}
@endif @if($error || $error_2fa)
{{ $error ?: $error_2fa }}
@endif
@csrf
@error('email')

{{ $message }}

@enderror

Must contain at least 8 characters, including uppercase, lowercase, numbers and special characters

@error('password')

{{ $message }}

@enderror

Theme Preference

Your theme preference will be applied across all devices and browsers when you're logged in.

Color Scheme

Choose the main color scheme for the site (sidebar, header, buttons, and accents).

@php $currentScheme = $user->color_scheme ?? 'blue'; @endphp

Save your profile to apply the color scheme. You can also change it from the user menu in the header.

Timezone Preference

All dates and times will be displayed in your selected timezone. Current server time: {{ now()->format('Y-m-d H:i:s T') }}

Cover View Preferences

Category Permissions

Exclude Subcategories

Select specific subcategories you don't want to see in browse, search, API, and RSS results. These will be hidden even if you have access to the parent category.

@foreach($categoriesWithSubs as $rootCategory)

{{ $rootCategory->title }}

@foreach($rootCategory->categories as $subcategory) @endforeach
@endforeach

Two-Factor Authentication (2FA)

@if($user->passwordSecurity()->exists() && $user->passwordSecurity->google2fa_enable)

Two-Factor Authentication is Active

Your account is protected with an additional layer of security. You'll need your authenticator app to log in.

Warning: Disabling 2FA will make your account less secure. Please enter your password to confirm.
@csrf
@elseif($user->passwordSecurity()->exists() && !$user->passwordSecurity->google2fa_enable)

Complete Your 2FA Setup

Follow these steps to enable two-factor authentication:

  1. Install an authenticator app (Google Authenticator, Authy, or similar)
  2. Scan the QR code below with your authenticator app
  3. Enter the 6-digit code from your app to verify
{!! $google2fa_url !!}

Secret Key (manual entry): {{ $user->passwordSecurity->google2fa_secret }}

@csrf
@csrf
@else

Two-Factor Authentication is Disabled

Add an extra layer of security to your account by enabling two-factor authentication.

@csrf
@endif

What is 2FA? Two-Factor Authentication adds an extra layer of security by requiring both your password and a code from your phone to log in.

Passkeys

@include('partials.passkeys-manage')
@endsection