You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to the PR by @runyasak this functionality is now merged to main. I will work on few other functionalities this week and will release a new version with a support for that feature.
Version
nuxt-security: 0.10.1
nuxt: 3.1.0
Steps to reproduce
In you Nuxt config, add the
nuxt-security
module as a[moduleName, moduleOptions]
entry.What is Expected?
The passed configuration should be taken into account.
What is actually happening?
The module options are only handled if they are passed through the
security
configuration key in Nuxt config.Possible fix
In the module definition, instead of using explicitly
nuxt.options.security
to retrieve passed options, you should useoptions directly
:Thanks for you module, it's a really huge and valuable work 🤗
The text was updated successfully, but these errors were encountered: