Change flag for enabling secure cookies
Secure cookies where enabled on the local_settings.py template by the
flag ssl_configured that was not set anywhere. Setting now that flag on
the ApacheSSLContext class.
Also fixed functional tests.
Closes-Bug: #2118778
Change-Id: Ic73b1a6a878efae126c87764d2a26afbfce4d740
Signed-off-by: Jorge Merlino <jorge.merlino@canonical.com>
(cherry picked from commit 2c43ae4b6e)
This commit is contained in:
@@ -317,7 +317,10 @@ class ApacheSSLContext(context.ApacheSSLContext):
|
||||
service_namespace = 'horizon'
|
||||
|
||||
def __call__(self):
|
||||
return super(ApacheSSLContext, self).__call__()
|
||||
ctxt = super(ApacheSSLContext, self).__call__()
|
||||
ctxt["ssl_configured"] = https()
|
||||
|
||||
return ctxt
|
||||
|
||||
|
||||
class RouterSettingContext(OSContextGenerator):
|
||||
|
||||
Reference in New Issue
Block a user