summaryrefslogtreecommitdiff
path: root/server/src/auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/auth.rs')
-rw-r--r--server/src/auth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/auth.rs b/server/src/auth.rs
index edd794c..530b2ef 100644
--- a/server/src/auth.rs
+++ b/server/src/auth.rs
@@ -225,7 +225,7 @@ async fn login(
);
let cookie = Cookie::build((SESSION_COOKIE, json::to_string(&session).unwrap()))
- .path("/api")
+ .path("/")
.max_age(max_age)
.http_only(true)
.build();