mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 12:33:02 +00:00
expose cookie options and pass them down to spawners
enables forcing all-session cookies with: ```python c.JupyterHub.tornado_settings['cookie_options'] = { 'expires_days': None, } ```
This commit is contained in:
@@ -215,6 +215,7 @@ class User:
|
||||
proxy_spec=url_path_join(self.proxy_spec, name, '/'),
|
||||
db=self.db,
|
||||
oauth_client_id=client_id,
|
||||
cookie_options = self.settings.get('cookie_options', {}),
|
||||
)
|
||||
# update with kwargs. Mainly for testing.
|
||||
spawn_kwargs.update(kwargs)
|
||||
|
Reference in New Issue
Block a user