Skip to content

Commit 930da30

Browse files
authored
Drop the re-seed identity print on login (#1132)
1 parent 1c813bf commit 930da30

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

src/core/cli/remote_commands.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,6 @@ async function runBrowserLogin(name, { org, host, noBrowser, noForward, noDaemon
885885

886886
// A matching sink already existed: this was a re-seed (already enrolled).
887887
for (const s of seeded) {
888-
ctx.stdout.write(`seeded forwarding identity for sink '${s.sink}' (gateway ${session.gateway.gatewayId})\n`)
889888
// Never silent about a displaced identity (LLP 0061 D4). A re-login over a
890889
// prior login seed for the same server is idempotent (the server dedups to
891890
// the same gateway), so only a different provenance is worth a note.

test/core/remote-login-command.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ test('a login-minted gateway credential seeds the matching central sink (LLP 006
252252

253253
const code = await runRemoteLogin(['prod'], ctx, { login })
254254
assert.equal(code, 0)
255-
assert.match(out.join(''), /seeded forwarding identity for sink 'fwd' \(gateway gw-1\)/)
256255
assert.doesNotMatch(err.join(''), /replaced/)
257256

258257
// The seed is the sink's persisted identity, at the per-plugin default path.
@@ -1179,7 +1178,6 @@ test('a re-login (already-enrolled, re-seed path) prints the durable hint (LLP 0
11791178
const code = await runRemoteLogin(['prod'], ctx, { login })
11801179
assert.equal(code, 0)
11811180
assert.match(err.join(''), /hyp privacy set \[path\] local-only/)
1182-
assert.match(out.join(''), /seeded forwarding identity for sink 'fwd'/)
11831181
})
11841182

11851183
/* --------------------------------------------------------------------------

0 commit comments

Comments
 (0)