@extends('layouts.app') @section('title', 'Bảo Mật Tài Khoản | GreenCard.vn') @section('content')
@include('partials.dash-sidebar')

Bảo Mật Tài Khoản

Quản lý mật khẩu và các thiết bị đăng nhập của bạn

{{-- Đổi mật khẩu --}}

🔑 Đổi Mật Khẩu

@csrf

Mật khẩu phải dài ít nhất 8 ký tự để đảm bảo an toàn.

{{-- 2FA + thiết bị --}}

🛡 Bảo vệ lớp thứ hai

Xác thực 2 yếu tố (2FA) @if($user->two_factor_enabled)BẬT@endif @if($user->two_factor_enabled) Tài khoản được bảo vệ bằng Google/MS userenticator @else Bảo vệ tài khoản bằng ứng dụng userenticator @endif

Thiết bị đăng nhập gần đây

@forelse($sessions as $i => $s)
🖥 {{ $s->device }} @if($i === 0)Mới nhất@endif {{ $s->ip_address }} {{ $s->created_at->locale('vi')->diffForHumans() }}
@csrf @method('DELETE')
@empty
Chưa có phiên đăng nhập.
@endforelse
{{-- Modal bật 2FA: QR + secret + mã 6 số --}} {{-- Modal tắt 2FA --}} @endsection @push('scripts') @endpush