fix compilation issue with cli
This commit is contained in:
parent
8975b0f9e9
commit
ccba8163c9
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user