Make signup token transparent
This commit is contained in:
parent
a65775d85b
commit
9b4c678aa9
@ -13,6 +13,7 @@ use std::ops::Deref;
|
|||||||
|
|
||||||
const TOKEN_VALIDITY_HOURS: i64 = 2;
|
const TOKEN_VALIDITY_HOURS: i64 = 2;
|
||||||
|
|
||||||
|
#[repr(transparent)]
|
||||||
pub struct Token(String);
|
pub struct Token(String);
|
||||||
|
|
||||||
impl From<String> for Token {
|
impl From<String> for Token {
|
||||||
|
Loading…
Reference in New Issue
Block a user