Skip to content

Commit

Permalink
fix: correct property name in OpenID options script
Browse files Browse the repository at this point in the history
  • Loading branch information
kuoruan committed Jan 14, 2025
1 parent 9ba22d6 commit c6edf96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/plugin/PatchHtml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class PatchHtml implements PluginMiddleware {
const scriptSrc = `${baseUrl}${staticPath}/${scriptName}`;

return [
`<script>window.__VERDACCIO_OPENID_OPTIONS={keepLoginDialog:${this.config.keepPasswdLogin}}</script>`,
`<script>window.__VERDACCIO_OPENID_OPTIONS={keepPasswdLogin:${this.config.keepPasswdLogin}}</script>`,
`<script defer="defer" src="${scriptSrc}"></script>`,
].join("\n");
}
Expand Down

0 comments on commit c6edf96

Please sign in to comment.