This commit is contained in:
JMARyA 2024-12-18 18:39:44 +01:00
parent 5f9eec00bf
commit dc5a052147
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -5,6 +5,7 @@ use sqlx::FromRow;
mod user;
pub use user::User;
pub use user::UserRole;
fn gen_token(token_length: usize) -> String {
let mut token_bytes = vec![0u8; token_length];