Skip to content

Commit c88c64f

Browse files
nodecearcanis
authored andcommitted
Fix login for yarn publish (#7312)
1 parent 6b7ee8c commit c88c64f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli/commands/login.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export async function getToken(
105105
//
106106
const res = await config.registries.npm.request(`-/user/org.couchdb.user:${encodeURIComponent(username)}`, {
107107
method: 'PUT',
108+
registry,
108109
body: userobj,
109110
auth: {username, password, email},
110111
});

0 commit comments

Comments
 (0)