Skip to content

Commit

Permalink
Update core.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
FossPrime committed Jun 5, 2023
1 parent 6c78883 commit cb5557b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authentication/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class AuthenticationBase {
) {
const { secret, jwtOptions } = this.configuration
// Use configuration by default but allow overriding the secret
const jwtSecret = secretOverride || secret
const jwtSecret = globalThis.process?.versions?.webcontainer === undefined ? secretOverride || secret : null
// Default jwt options merged with additional options
const options = merge({}, jwtOptions, optsOverride)

Expand Down

0 comments on commit cb5557b

Please sign in to comment.