Skip to content

Commit 08e4d60

Browse files
Ask to run auth login instead of auth logout to switch
1 parent 1ce00c5 commit 08e4d60

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

packages/app/src/cli/services/context.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ const renderTryMessage = (isOrg: boolean, identifier: string) => [
716716
'Check that your account has permission to develop apps for this organization or contact the owner of the organization to grant you permission',
717717
[
718718
'Run',
719-
{command: 'shopify auth logout'},
719+
{command: 'shopify auth login'},
720720
'to log into a different',
721721
isOrg ? 'organization' : 'account',
722722
'than',

packages/app/src/cli/services/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const appNotFoundHelpMessage = (accountIdentifier: string, isOrg = false) => [
5353
'Check that your account has permission to develop apps for this organization or contact the owner of the organization to grant you permission',
5454
[
5555
'Run',
56-
{command: 'shopify auth logout'},
56+
{command: 'shopify auth login'},
5757
'to log into a different',
5858
isOrg ? 'organization' : 'account',
5959
'than',

packages/app/src/cli/services/dev/fetch.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe('NoOrgError', () => {
143143
│ Next steps │
144144
│ • Your current active session is associated with the [email protected]
145145
│ user account. To start a new session with a different account, run │
146-
│ \`shopify auth logout\`
146+
│ \`shopify auth login\`
147147
│ • Have you created a Shopify Partners organization [1]? │
148148
│ • Does your account include Manage app permissions?, please contact the │
149149
│ owner of the organization to grant you access. │
@@ -177,7 +177,7 @@ describe('NoOrgError', () => {
177177
│ Next steps │
178178
│ • Your current active session is associated with the organization │
179179
│ organization account. To start a new session with a different account, │
180-
│ run \`shopify auth logout\`
180+
│ run \`shopify auth login\`
181181
│ • Have you created a Shopify Partners organization [1]? │
182182
│ • Does your account include Manage app permissions?, please contact the │
183183
│ owner of the organization to grant you access. │
@@ -210,8 +210,7 @@ describe('NoOrgError', () => {
210210
│ │
211211
│ Next steps │
212212
│ • Your current active session is associated with an unknown account. To │
213-
│ start a new session with a different account, run \`shopify auth │
214-
│ logout\` │
213+
│ start a new session with a different account, run \`shopify auth login\` │
215214
│ • Have you created a Shopify Partners organization [1]? │
216215
│ • Does your account include Manage app permissions?, please contact the │
217216
│ owner of the organization to grant you access. │

packages/app/src/cli/services/dev/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class NoOrgError extends AbortError {
2929
`Your current active session is associated with ${identifierMessage(
3030
formattedIdentifier,
3131
)} account. To start a new session with a different account, run`,
32-
{command: 'shopify auth logout'},
32+
{command: 'shopify auth login'},
3333
],
3434
[
3535
'Have you',

0 commit comments

Comments
 (0)