mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-22 19:41:03 +00:00
Make signup token transparent
This commit is contained in:
parent
a65775d85b
commit
9b4c678aa9
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ use std::ops::Deref;
|
|||
|
||||
const TOKEN_VALIDITY_HOURS: i64 = 2;
|
||||
|
||||
#[repr(transparent)]
|
||||
pub struct Token(String);
|
||||
|
||||
impl From<String> for Token {
|
||||
|
|
Loading…
Reference in a new issue