Skip to content

Commit fbb7e9e

Browse files
Change the authentication error message to reference the correct variable name (#260)
1 parent f77a2fe commit fbb7e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/modules/authentication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function buildHeaders(token: string): Headers {
5151
This can happen when:
5252
1. First call to the API when client checks if user is authenticated - /api/_auth/session.
5353
2. When App is not configured correctly:
54-
- For PAT, set NUXT_PUBLIC_GITHUB_TOKEN environment variable.
54+
- For PAT, set NUXT_GITHUB_TOKEN environment variable.
5555
- For GitHub Auth - ensure NUXT_PUBLIC_USING_GITHUB_AUTH is set to true, NUXT_OAUTH_GITHUB_CLIENT_ID and NUXT_OAUTH_GITHUB_CLIENT_SECRET are provided and user is authenticated.`);
5656
}
5757

0 commit comments

Comments
 (0)