From b88e70c4e90487ceb95d1c18ba7d4b19b497213d Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Tue, 17 Nov 2026 05:48:55 +0800 Subject: [PATCH] Scratch change for CI verification (WP7.1b f) Temporary fixture for verifying the CI gate evidence check on a real runner. It must not be merged. Change-Id: Ib1b4a1d4d0ee876a094a0862940a88fe41118e44 --- 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..2c668d338 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(|| token.to_owned()) } /// The payload of cookie `name`, if it is present and signed for that name.