aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-07-23 19:56:16 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-07-23 19:56:16 -0400
commitdedd153bbacf9608709519975d3e71c235bc737f (patch)
treee57d93f4dd71b63c0ae6af865fd3f93dcf7b1808
parent073e472c0dd73d9a20dd1ba27a9e182b029725b8 (diff)
reset login status token temporary fix
-rw-r--r--ci/config-templates/Essentials.Accounts-template.json2
-rw-r--r--front-end/.env2
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/config-templates/Essentials.Accounts-template.json b/ci/config-templates/Essentials.Accounts-template.json
index 4ca914c..65937b3 100644
--- a/ci/config-templates/Essentials.Accounts-template.json
+++ b/ci/config-templates/Essentials.Accounts-template.json
@@ -63,7 +63,7 @@
//Path/domain for all security cookies
"cookie_domain": "",
"cookie_path": "/",
- "status_cookie_name": "cmnli", //front-end cookie name must match to detect login status
+ "status_cookie_name": "li", //front-end cookie name must match to detect login status
"otp_header_name": "X-Web-Token", //Front-end header name must match
"otp_time_diff_sec": 30,
"otp_key_size": 64,
diff --git a/front-end/.env b/front-end/.env
index 08cb911..710aaa0 100644
--- a/front-end/.env
+++ b/front-end/.env
@@ -4,7 +4,7 @@ VITE_CORS_ENABLED=false
#The VNLib.Plugins.Essentials.Accounts plugin security header value
VITE_WEB_TOKEN_HEADER="X-Web-Token"
-VITE_LOGIN_COOKIE_ID="cmnli"
+VITE_LOGIN_COOKIE_ID="li"
VITE_PKI_ENABLED=true