From bce687e59772002b387f59d3c46e64cbb9d0c99f Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 6 Aug 2023 12:51:13 +0100 Subject: [PATCH] fix: increase complexity of auth code --- src/methods/account_new.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/methods/account_new.rs b/src/methods/account_new.rs index 02a31b0..0026076 100644 --- a/src/methods/account_new.rs +++ b/src/methods/account_new.rs @@ -44,7 +44,7 @@ pub mod post { } // generate a auth key - let auth = random_string(50); + let auth = random_string(75); match send_mail(config, &record, &auth) { Ok(_) => match save_to_db(db, &record, &auth).await {