mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-23 03:51:00 +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;
|
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 a new issue