From 9b4c678aa949ca44ff532e09c1a4d676b65f3442 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Thu, 6 Jan 2022 18:40:24 +0900 Subject: [PATCH] Make signup token transparent --- plume-models/src/email_signups.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/plume-models/src/email_signups.rs b/plume-models/src/email_signups.rs index 7d005060..fbda656b 100644 --- a/plume-models/src/email_signups.rs +++ b/plume-models/src/email_signups.rs @@ -13,6 +13,7 @@ use std::ops::Deref; const TOKEN_VALIDITY_HOURS: i64 = 2; +#[repr(transparent)] pub struct Token(String); impl From for Token {