diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs index e8c4f7e..3e54577 100644 --- a/src/api/core/accounts.rs +++ b/src/api/core/accounts.rs @@ -288,7 +288,7 @@ fn password_hint(data: JsonUpcase, conn: DbConn) -> EmptyResul let data: PasswordHintData = data.into_inner().data; if !is_valid_email(&data.Email) { - return err!("This email address is not valid..."); + err!("This email address is not valid..."); } let user = User::find_by_mail(&data.Email, &conn);