From 6e808c2ab1a37d76ee049132b4ad3970e7967755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hern=C3=A2ni=20Marques?=
Date: Fri, 10 Jul 2026 21:58:00 +0200
Subject: [PATCH] bank landing: own-account box shows username only (drop name)
Name and username were the same value; keep the bank login username
with password. (mistakenly still mentions name in API fallback.)
---
configs/bank-landing/README.md | 2 +-
configs/bank-landing/index.html | 7 ++-----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/configs/bank-landing/README.md b/configs/bank-landing/README.md
index 9c920ae..9607e11 100644
--- a/configs/bank-landing/README.md
+++ b/configs/bank-landing/README.md
@@ -48,7 +48,7 @@ In the optional fold:
1. User clicks **Create my bank account**.
2. Browser calls `GET /intro/auto-account.json` (no form fields).
3. Server registers a new libeufin user via public `POST /accounts`.
-4. UI shows **username / password / balance GOA:0** once (“created for you”;
+4. UI shows **username / password** once (“created for you”;
not stored for recovery).
5. Username shape: **`goa-account-`** (shown to the user).
Password embeds **`pleasechangeme`** with random chars around it.
diff --git a/configs/bank-landing/index.html b/configs/bank-landing/index.html
index fad1f67..680191b 100644
--- a/configs/bank-landing/index.html
+++ b/configs/bank-landing/index.html
@@ -1296,7 +1296,6 @@ tw balance
Login at the bank UI.
- - Name
—
- Username
—
- Password
—
@@ -1703,16 +1702,14 @@ tw balance
.then(function (d) {
if (!d || !d.ok) throw new Error((d && d.error) || "create failed");
if (box) box.hidden = false;
- var n = document.getElementById("auto-account-name");
var u = document.getElementById("auto-account-user");
var p = document.getElementById("auto-account-pass");
- if (n) n.textContent = d.name || d.display_name || "—";
- if (u) u.textContent = d.username || "—";
+ if (u) u.textContent = d.username || d.name || d.display_name || "—";
if (p) p.textContent = d.password || "—";
if (st) {
st.textContent =
"Account created for you · " +
- (d.name || d.username || "") +
+ (d.username || d.name || "") +
" · save username & password";
}
/* Fancy QR_Taler: encode bank UI URL (login with credentials above) */