2026-06-08 09:47:36 +09:00
|
|
|
<?= $this->extend('auth/_shell') ?>
|
|
|
|
|
|
|
|
|
|
<?= $this->section('heading') ?>2차 인증 (TOTP)<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
<p class="text-sm text-gray-600 mb-4">계정 <strong class="text-gray-800"><?= esc($memberId) ?></strong> 에 대해 인증 앱의 6자리 코드를 입력해 주세요.</p>
|
|
|
|
|
<form action="<?= base_url('login/two-factor') ?>" method="POST" class="space-y-4">
|
|
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
<div>
|
|
|
|
|
<label class="block text-sm font-bold text-gray-700 mb-1" for="totp_code">인증 코드</label>
|
|
|
|
|
<input class="block w-full border border-gray-300 rounded-lg px-3 py-2 text-sm tracking-widest focus:ring-2 focus:ring-[#007bff]/40 focus:border-[#007bff]" id="totp_code" name="totp_code" type="text" inputmode="numeric" pattern="[0-9]*" maxlength="6" autocomplete="one-time-code" autofocus placeholder="000000" value="<?= esc(old('totp_code')) ?>"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex gap-2 pt-2">
|
|
|
|
|
<button type="submit" class="bg-btn-search text-white px-4 py-2 rounded-lg text-sm font-semibold shadow hover:brightness-110 transition border border-transparent">확인</button>
|
|
|
|
|
<a href="<?= base_url('login') ?>" class="bg-white text-gray-700 border border-gray-300 px-4 py-2 rounded-lg text-sm shadow-sm hover:bg-gray-50 transition">처음으로</a>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<?= $this->endSection() ?>
|