aboutsummaryrefslogtreecommitdiff
path: root/src/modules/auth/cookie.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-05-27 18:40:53 +0200
committermetamuffin <metamuffin@disroot.org>2025-05-27 18:40:53 +0200
commit2eed0cc2a319bfab52b88abc39f2a4f237e4d0e0 (patch)
tree557d8990914a7bc7c8bf59dc68185d44e54d262d /src/modules/auth/cookie.rs
parent520f93f4fb6959d602b9e45d6bb47a06dcf60219 (diff)
downloadgnix-2eed0cc2a319bfab52b88abc39f2a4f237e4d0e0.tar
gnix-2eed0cc2a319bfab52b88abc39f2a4f237e4d0e0.tar.bz2
gnix-2eed0cc2a319bfab52b88abc39f2a4f237e4d0e0.tar.zst
clippy
Diffstat (limited to 'src/modules/auth/cookie.rs')
-rw-r--r--src/modules/auth/cookie.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/auth/cookie.rs b/src/modules/auth/cookie.rs
index 4c4d96d..c0935f7 100644
--- a/src/modules/auth/cookie.rs
+++ b/src/modules/auth/cookie.rs
@@ -199,7 +199,7 @@ fn apply_login_success_headers(
);
r.headers_mut().append(
SET_COOKIE,
- HeaderValue::from_str(&format!("gnix_auth={}{}", auth, cookie_opts)).unwrap(),
+ HeaderValue::from_str(&format!("gnix_auth={auth}{cookie_opts}")).unwrap(),
);
}