1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-23 05:20:28 +01:00

Remove unnecessary return

Dieser Commit ist enthalten in:
Daniel García 2018-09-12 23:58:02 +02:00 committet von GitHub
Ursprung 1b20a25514
Commit 3e1afb139c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -288,7 +288,7 @@ fn password_hint(data: JsonUpcase<PasswordHintData>, conn: DbConn) -> EmptyResul
let data: PasswordHintData = data.into_inner().data; let data: PasswordHintData = data.into_inner().data;
if !is_valid_email(&data.Email) { 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); let user = User::find_by_mail(&data.Email, &conn);