fix compilation issue with cli

pull/826/head
Trinity Pointard 4 år sedan
förälder 8975b0f9e9
incheckning ccba8163c9

@ -132,7 +132,7 @@ fn new<'a>(args: &ArgMatches<'a>, conn: &Connection) {
role,
&bio,
email,
User::hash_pass(&password).expect("Couldn't hash password"),
Some(User::hash_pass(&password).expect("Couldn't hash password")),
)
.expect("Couldn't save new user");
}

Laddar…
Avbryt
Spara