Bump : 0.5.3 : Fix login cookie being a chud FUCK and not persisting + support for new login system
This commit is contained in:
@@ -395,7 +395,6 @@ fn cookie_for_token(token: &str, dev: bool) -> Cookie<'static> {
|
||||
let token = token.to_owned();
|
||||
let mut cookie = Cookie::build(("session", token))
|
||||
.path("/")
|
||||
.http_only(true)
|
||||
.max_age(time::Duration::days(30))
|
||||
.same_site(if dev {
|
||||
axum_extra::extract::cookie::SameSite::None
|
||||
|
||||
Reference in New Issue
Block a user