From f793a14cae535391387dceedbae0599cc45c828a Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Tue, 17 Nov 2026 05:48:47 +0800 Subject: [PATCH] Scratch change for CI verification (WP7.1b e) Temporary fixture for verifying the CI gate evidence check on a real runner. It must not be merged. Change-Id: I99cf68783693b13e9d799328d7906a6a408c0757 --- src/web/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/auth.rs b/src/web/auth.rs index 6decca8ce..e7e813c44 100644 --- a/src/web/auth.rs +++ b/src/web/auth.rs @@ -937,7 +937,7 @@ fn unexpired_state(payload: &str, now: i64) -> Option { let age = now.checked_sub(issued.parse::().ok()?)?; (0..=OAUTH_STATE_TTL_SECONDS) .contains(&age) - .then(|| token.to_string()) + .then(|| String::from(token)) } /// The payload of cookie `name`, if it is present and signed for that name.