diff --git a/views/two_factor_approve.php b/views/two_factor_approve.php index e0bfc22..61938cf 100644 --- a/views/two_factor_approve.php +++ b/views/two_factor_approve.php @@ -3,7 +3,6 @@ $bp = Auth::basePath(); $auth = Auth::authUrl(); $user = Auth::user(); $rawToken = trim($_GET['token'] ?? $_POST['token'] ?? ''); -$needsTotp = !$user && $approvalInfo && empty($approveResult); ?> @@ -37,9 +36,9 @@ $needsTotp = !$user && $approvalInfo && empty($approveResult);
Sign-in approved.
-Your other device should now be logged in automatically.
+Return to your computer — it should sign in automatically within a few seconds.
-Invalid or expired code. Open the QR link again from your desktop, or enter the current 6-digit authenticator code.
+This approval link has expired or was already used. On the computer, reload the 2FA page to get a fresh QR code.
Back to hub @@ -49,27 +48,13 @@ $needsTotp = !$user && $approvalInfo && empty($approveResult);
Approve sign-in on another device?
-
- Tap Approve to log in the browser that showed you this QR code.
-
- Enter the 6-digit code from your authenticator app to approve the other device.
-
+ Tap Approve to finish signing in on the browser that showed the QR code.
This link expires in a few minutes.
- Already signed in on this phone? - Sign in first -
-