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
used with (e.g. hapi application, another framework, standalone, ...): hapi app
any other relevant information: no
How can we help?
In the documentation you write: "Consider rotating your cookie session password on a regular basis" but you fail to explain how to do this.
Is straightforward if we restart the server every time we want to rotate the session password:
importyarfrom'@hapi/yar'constserver=newhapi.Server({ port })constyarPlugin={plugin: yar,options: {name: 'yarCookie',cookieOptions: {password: randomPassword(),}}}awaitserver.register(yarPlugin)
How can we do this without restarting the server?
The text was updated successfully, but these errors were encountered:
Support plan
Context
How can we help?
In the documentation you write: "Consider rotating your cookie session password on a regular basis" but you fail to explain how to do this.
Is straightforward if we restart the server every time we want to rotate the session password:
How can we do this without restarting the server?
The text was updated successfully, but these errors were encountered: