diff --git a/content/docs/infra/login.mdx b/content/docs/infra/login.mdx index 54b9a5c2..b40969b2 100644 --- a/content/docs/infra/login.mdx +++ b/content/docs/infra/login.mdx @@ -88,6 +88,7 @@ lpm whoami --registry https://registry.example.com ``` `--registry` selects the browser-login service. `--login-registry` instead stores a token for an npm-compatible registry. +A trailing slash doesn't change the registry: `https://registry.example.com/` and `https://registry.example.com` share one login. A login that an earlier release stored under the slashed spelling moves to the shared key the first time LPM CLI reads it, unless the shared key already holds a login. Clearing the shared key's login, as `lpm logout` or a rejected session does, removes the slashed login too. The authorization-code exchange has a 30-second timeout and refuses redirects. If it fails, correct the registry connection and restart login.