disable CheckEmailInput for now
This commit is contained in:
parent
32a73a0c53
commit
a696fb92f6
@ -64,6 +64,8 @@ pub async fn user_post(
|
||||
if x.is_empty() {
|
||||
user.email = sea_orm::Set(None);
|
||||
} else {
|
||||
// TODO: enable this once we figure out why it is hanging forever
|
||||
if false {
|
||||
// Make a quick check if the e-mail provide is active
|
||||
let check_email_input = CheckEmailInput::new(x.clone());
|
||||
// Verify this input, using async/await syntax.
|
||||
@ -75,6 +77,7 @@ pub async fn user_post(
|
||||
"The e-mail address you provided seems invalid".into(),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: send a confirmation email first before marking this email address as validated
|
||||
user.email = sea_orm::Set(Some(x));
|
||||
|
Loading…
Reference in New Issue
Block a user