Check email validity before using it for password hint sending

This commit is contained in:
Jean-Christophe BEGUE
2018-08-15 17:25:59 +02:00
committed by Jean-Christophe BEGUE
parent 401aa7c699
commit 9e63985b28
4 changed files with 8 additions and 2 deletions

View File

@ -29,6 +29,7 @@ extern crate num_traits;
extern crate lettre;
extern crate lettre_email;
extern crate native_tls;
extern crate fast_chemail;
use std::{env, path::Path, process::{exit, Command}};
use rocket::Rocket;