When the type: 'refresh' is set, if i'm already connected and I try to reload my current page (or load a new in another tab), I'll automatically redirected to te /login page.
If I just replace the type: 'refresh' by type: 'local', I can access to a page directly without redirection to the login page...
Environment
Build Modules: -
Reproduction
Put this config in the nuxt config file:
Describe the bug
When the
type: 'refresh'
is set, if i'm already connected and I try to reload my current page (or load a new in another tab), I'll automatically redirected to te/login
page.If I just replace the
type: 'refresh'
bytype: 'local'
, I can access to a page directly without redirection to the login page...Additional context
No response
Logs
No response