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

Informasi Akun

Perbarui informasi nama profil dan alamat email akun Anda.

@csrf
@csrf @method('patch')
@if ($errors->has('fullname'))

{{ $errors->first('fullname') }}

@endif
@if ($errors->has('email'))

{{ $errors->first('email') }}

@endif @if ($user instanceof \Illuminate\Contracts\Auth\MustVerifyEmail && !$user->hasVerifiedEmail())
Alamat email Anda belum diverifikasi. @if (session('status') === 'verification-link-sent')

Tautan verifikasi baru telah dikirimkan ke alamat email Anda.

@endif
@endif
@if (session('status') === 'profile-updated')

Tersimpan.

@endif

Ubah Password

Pastikan akun Anda menggunakan kata sandi yang panjang dan acak agar tetap aman.

@csrf @method('put')
@if ($errors->has('updatePassword.current_password'))

{{ $errors->first('updatePassword.current_password') }}

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

{{ $errors->first('updatePassword.password') }}

@endif
@if ($errors->has('updatePassword.password_confirmation'))

{{ $errors->first('updatePassword.password_confirmation') }}

@endif
@if (session('status') === 'password-updated')

Saved.

@endif
{{--
@csrf @method('DELETE')
Delete Account
--}} {{--

Delete Account

Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.

@csrf @method('delete')

Are you sure you want to delete your account?

Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.

@if ($errors->has('userDeletion.password')) {{ $errors->first('userDeletion.password') }} @endif
--}} {{-- @include('profile.partials.delete-user-form') --}} {{--
--}} @endsection