vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 3e1afb139c80f32f2b187af4ca8ea04aa86cb977
parent 1b20a2551440d6e4a7d516d1e8de879d78507dd8
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Wed, 12 Sep 2018 23:58:02 +0200

Remove unnecessary return
Diffstat:
Msrc/api/core/accounts.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs @@ -288,7 +288,7 @@ fn password_hint(data: JsonUpcase<PasswordHintData>, 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);