Ready to initiate OpenID login

This commit is contained in:
2025-03-17 21:33:13 +01:00
parent 56fbae6adc
commit d9e8ce90cc
11 changed files with 294 additions and 4 deletions

View File

@ -1 +1,2 @@
pub mod rand_utils;
pub mod time_utils;

View File

@ -0,0 +1,6 @@
use rand::distr::{Alphanumeric, SampleString};
/// Generate a random string of a given length
pub fn rand_string(len: usize) -> String {
Alphanumeric.sample_string(&mut rand::rng(), len)
}