From b9854b646961c164486bfc2a8e806c3556c7a437 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 22 Sep 2026 15:19:23 +0000 Subject: [PATCH 1/2] Google Accounts: link the two-step guide in Reset + 2FA copy text The one-shot recovery credentials for Reset + 2FA now end with a short blurb and an absolute link to /Guide/TwoStepVerification, so the admin can paste one message instead of writing the setup instructions by hand each time. Password-only resets are unchanged. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_018grYTQkKyEGXcPLxqQKnwF --- .../Humans.GoogleIntegration/Views/Google/Accounts.cshtml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Sections/Humans.GoogleIntegration/Views/Google/Accounts.cshtml b/src/Sections/Humans.GoogleIntegration/Views/Google/Accounts.cshtml index 357f3dc37a..7ea3bd2689 100644 --- a/src/Sections/Humans.GoogleIntegration/Views/Google/Accounts.cshtml +++ b/src/Sections/Humans.GoogleIntegration/Views/Google/Accounts.cshtml @@ -276,8 +276,9 @@ @if (recoveryCreds is not null && !string.IsNullOrEmpty(recoveryCreds.TempPassword)) { var hasBackupCode = !string.IsNullOrEmpty(recoveryCreds.BackupCode); + var twoStepGuideUrl = Url.Action("Document", "Guide", new { name = "TwoStepVerification" }, Context.Request.Scheme); var clipboardText = hasBackupCode - ? $"pw: {recoveryCreds.TempPassword}\n2fa: {recoveryCreds.BackupCode}" + ? $"pw: {recoveryCreds.TempPassword}\n2fa: {recoveryCreds.BackupCode}\n\nThe 2fa code is a one-time backup code: use it at the verification step, then set up two-step verification properly so you don't get locked out again. How-to: {twoStepGuideUrl}" : $"pw: {recoveryCreds.TempPassword}"; -
@clipboardText
+
@clipboardText