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,
&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");
}