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

Profile

@if(!Auth::user()->hasVerifiedEmail() && strtolower($force_email_verification) == 'true')
Required Email verification!
You have not yet verified your email address Click here to resend verification email
Please contact support If you didn't receive your verification email.
@endif @if(is_null(Auth::user()->discordUser) && strtolower($force_discord_verification) == 'true') @if(!empty(env('DISCORD_CLIENT_ID')) && !empty(env('DISCORD_CLIENT_SECRET')))
Required Discord verification!
You have not yet verified your discord account Login with discord
Please contact support If you face any issues.
@else
Required Discord verification!
Due to system settings you are required to verify your discord account!
It looks like this hasn't been set-up correctly! Please contact support.
@endif @endif
@csrf @method('PATCH')
avatar

{{$user->name}}

{{$user->email}} @if($user->hasVerifiedEmail()) @else @endif

{{$user->Credits()}}
{{$user->role}}
{{$user->created_at->isoFormat('LL')}}
@error('name')
{{$message}}
@enderror
@error('email')
{{$message}}
@enderror
Change Password
@error('current_password')
{{$message}}
@enderror
@error('new_password')
{{$message}}
@enderror
@error('new_password_confirmation')
{{$message}}
@enderror
@if(!empty(env('DISCORD_CLIENT_ID')) && !empty(env('DISCORD_CLIENT_SECRET')))
Link your discord account! @if(is_null(Auth::user()->discordUser))
@if($credits_reward_after_verify_discord)

By verifying your discord account, you receive an extra {{$credits_reward_after_verify_discord}} {{CREDITS_DISPLAY_NAME}} and increased server limit

@endif
Login with Discord @else

You are verified!

{{$user->discordUser->username}} {{$user->discordUser->locale}}

{{$user->discordUser->id}}

avatar
@endif
@endif
@endsection