Merge pull request #1198 from fabianvansteen/patch-1

Correction of verify_email error message
This commit is contained in:
Mathijs van Veluw 2020-10-23 11:40:39 +02:00 committed by GitHub
commit 7099f8bee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,7 +460,7 @@ fn post_verify_email(headers: Headers, _conn: DbConn) -> EmptyResult {
} }
if let Err(e) = mail::send_verify_email(&user.email, &user.uuid) { if let Err(e) = mail::send_verify_email(&user.email, &user.uuid) {
error!("Error sending delete account email: {:#?}", e); error!("Error sending verify_email email: {:#?}", e);
} }
Ok(()) Ok(())