We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07199b1 commit 58193ddCopy full SHA for 58193dd
1 file changed
src/module.ts
@@ -254,7 +254,7 @@ export default defineNuxtModule<ModuleOptions>({
254
}
255
256
// 9. Add a plugin to refresh the token on production-startup
257
- if (options.provider.type === 'local' && options.provider.refresh.isEnabled) {
+ if (options.provider.type === 'local' && options.provider.refresh.isEnabled && !options.disableServerSideAuth) {
258
addPlugin(resolve('./runtime/plugins/refresh-token.server'))
259
260
0 commit comments