diff options
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js b/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js index ec4a5b6..6a25d81 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js @@ -142,9 +142,10 @@ function CreateGroupWizard({ token, username, onCreated, onNodeLinked, allowPubl const linkNodeKey = useCallback(async (pk) => { if (!pk) return; - // `PUT /me/node_key` is idempotent — linking the same key again returns 200, - // so there is no "already linked" case to swallow here. A failure means the - // hub did not record this node's key (a rejected session, a malformed key), + // `PUT /me/node_key` adds this machine's key beside the account's others and + // is idempotent — linking the same key again returns 200, so there is no + // "already linked" case to swallow here. A failure means the hub did not + // record this node's key (a rejected session, a malformed key, the limit), // and the node then fails to authenticate and never comes up. It must // surface — `detectNode`'s catch shows it — rather than let the wizard // proceed against a node that looks linked but is not. |