@extends('admin.layouts.app') @section('title', '보안 설정 (2차 인증)') @section('content')
2차 인증 (Google OTP)
SMS 또는 Google OTP(TOTP)로 2차 인증을 진행합니다.
뒤로가기
{{-- 이용 안내 --}}
이용 안내
1) Google Authenticator / Microsoft Authenticator 등 앱 설치
2) 등록 시작 → QR 스캔(또는 시크릿 수동 입력)
3) 앱에 표시되는 6자리 코드를 입력해 등록 완료
4) 필요 시 재등록(새 시크릿 발급) 또는 삭제 가능
{{-- 상태/모드 --}}
현재 상태
@if($isRegistered) Google OTP 등록됨 ({{ $admin->totp_verified_at }}) @elseif($isPending) 등록 진행 중 @else 미등록 @endif
@csrf @if(!$isRegistered)
※ Google OTP 미등록 상태에서는 OTP 인증으로 전환할 수 없습니다.
@endif
{{-- 등록/확인 UI --}} @if($isPending)
등록 진행
QR 코드 스캔
{!! $qrSvg !!}
시크릿(수동 입력용)
{{ $secret }}
@csrf @error('code')
{{ $message }}
@enderror
@csrf
@else {{-- 미등록 / 등록됨 --}}
@if(!$isRegistered)
@csrf
@else
@csrf
@csrf
@endif
@endif @endsection