fix: increase complexity of auth code

This commit is contained in:
silver 2023-08-06 12:51:13 +01:00
parent bd84c05b2c
commit bce687e597

View file

@ -44,7 +44,7 @@ pub mod post {
} }
// generate a auth key // generate a auth key
let auth = random_string(50); let auth = random_string(75);
match send_mail(config, &record, &auth) { match send_mail(config, &record, &auth) {
Ok(_) => match save_to_db(db, &record, &auth).await { Ok(_) => match save_to_db(db, &record, &auth).await {