diff --git a/src/phi/web/app.py b/src/phi/web/app.py index aec3b7b..f95dda7 100644 --- a/src/phi/web/app.py +++ b/src/phi/web/app.py @@ -16,11 +16,12 @@ log = get_logger(__name__) LOGIN_ROUTE = "/login" +COOKIE_NAME = "PHI_COOKIE" def setup_app(config): app = web.Application() - setup(app, EncryptedCookieStorage(extract_secret(config))) + setup(app, EncryptedCookieStorage(extract_secret(config), cookie_name=COOKIE_NAME)) app["config"] = config app["store"] = ClientStore(LOGIN_ROUTE)