fix: increase complexity of auth code
This commit is contained in:
parent
bd84c05b2c
commit
bce687e597
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue