diff --git a/accounts/__init__.py b/accounts/__init__.py index 9016eee..9804e55 100644 --- a/accounts/__init__.py +++ b/accounts/__init__.py @@ -30,6 +30,7 @@ app.config['LDAP_OPENLDAP'] = True app.config['LDAP_USER_OBJECT_FILTER'] = '(&(objectclass=posixAccount)(uid=%s))' # Login cookies +app.config['SESSION_COOKIE_DOMAIN'] = os.environ.get('COOKIE_DOMAIN') app.config['REMEMBER_COOKIE_DOMAIN'] = os.environ.get('COOKIE_DOMAIN') db = SQLAlchemy(app)