fix compilation issue with cli

This commit is contained in:
Trinity Pointard 2020-10-04 23:53:14 +02:00
parent 8975b0f9e9
commit ccba8163c9

View file

@ -132,7 +132,7 @@ fn new<'a>(args: &ArgMatches<'a>, conn: &Connection) {
role, role,
&bio, &bio,
email, 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"); .expect("Couldn't save new user");
} }