mirror of
git://f0xx.org/ac/ac-be-auth
synced 2026-07-29 06:37:40 +03:00
Clarify 2FA QR scan copy and bump identity/platform-php deps.
Phone-camera approval flow wording; sync deps for shortener QR PNG and secure session cookies. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2
deps/ac-ms-identity
vendored
2
deps/ac-ms-identity
vendored
Submodule deps/ac-ms-identity updated: d50c426303...835f02153e
@@ -43,9 +43,9 @@ if (!isset($twofaQr)) {
|
|||||||
<form class="login-card" method="post" action="<?= h($auth) ?>/two-factor" id="twofa-form">
|
<form class="login-card" method="post" action="<?= h($auth) ?>/two-factor" id="twofa-form">
|
||||||
<h1 data-i18n="twofa.title">Two-factor authentication</h1>
|
<h1 data-i18n="twofa.title">Two-factor authentication</h1>
|
||||||
<?php if (is_array($twofaQr) && !empty($twofaQr['qr_url'])): ?>
|
<?php if (is_array($twofaQr) && !empty($twofaQr['qr_url'])): ?>
|
||||||
<p class="muted" data-i18n="twofa.hint_scan">Scan the QR code with your phone to approve this sign-in, or enter the 6-digit code below.</p>
|
<p class="muted" data-i18n="twofa.hint_scan">Scan with your <strong>phone camera</strong> (not Google Authenticator) to approve this sign-in on another device, or enter the 6-digit code from your authenticator app below.</p>
|
||||||
<figure class="twofa-qr-wrap" id="twofa-qr-wrap">
|
<figure class="twofa-qr-wrap" id="twofa-qr-wrap">
|
||||||
<img src="<?= h((string) $twofaQr['qr_url']) ?>" width="160" height="160" alt="QR code — scan to approve sign-in on this device" class="twofa-qr">
|
<img src="<?= h((string) $twofaQr['qr_url']) ?>" width="160" height="160" alt="QR code — scan with phone camera to approve sign-in" class="twofa-qr">
|
||||||
<figcaption class="muted" data-i18n="twofa.qr_caption">
|
<figcaption class="muted" data-i18n="twofa.qr_caption">
|
||||||
Phone camera → tap link → Approve
|
Phone camera → tap link → Approve
|
||||||
<?php if (!empty($twofaQr['short_url'])): ?>
|
<?php if (!empty($twofaQr['short_url'])): ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user