Bump : 0.5.3 : Fix login cookie being a chud FUCK and not persisting + support for new login system

This commit is contained in:
2026-08-17 15:32:43 +01:00
parent 72cfb26e38
commit f855e0e471
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "server" name = "server"
version = "0.5.2" version = "0.5.3"
edition = "2024" edition = "2024"
[target.x86_64-unknown-linux-gnu] [target.x86_64-unknown-linux-gnu]
-1
View File
@@ -395,7 +395,6 @@ fn cookie_for_token(token: &str, dev: bool) -> Cookie<'static> {
let token = token.to_owned(); let token = token.to_owned();
let mut cookie = Cookie::build(("session", token)) let mut cookie = Cookie::build(("session", token))
.path("/") .path("/")
.http_only(true)
.max_age(time::Duration::days(30)) .max_age(time::Duration::days(30))
.same_site(if dev { .same_site(if dev {
axum_extra::extract::cookie::SameSite::None axum_extra::extract::cookie::SameSite::None