Compare commits

...
Author SHA1 Message Date
spinline a948215538 Change cookie SameSite policy to Lax to fix login redirection issue
Build MIPS Binary / build (push) Successful in 4m6s
2026-02-07 15:38:56 +03:00
spinline 13424fceeb Demote 'Torrent status changed' log from INFO to DEBUG to reduce console noise
Build MIPS Binary / build (push) Successful in 4m6s
2026-02-07 15:33:16 +03:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ pub fn diff_torrents(old: &[Torrent], new: &[Torrent]) -> DiffResult {
has_changes = true;
// Log status changes for debugging
tracing::info!(
tracing::debug!(
"Torrent status changed: {} ({}) {:?} -> {:?}",
new_t.name, new_t.hash, old_t.status, new_t.status
);
+1 -1
View File
@@ -74,7 +74,7 @@ pub async fn login_handler(
let cookie = Cookie::build(("auth_token", token))
.path("/")
.http_only(true)
.same_site(SameSite::Strict)
.same_site(SameSite::Lax)
.max_age(Duration::seconds(expires_in))
.build();