forked from Plume/Plume
fix compilation issue with cli
This commit is contained in:
parent
8975b0f9e9
commit
ccba8163c9
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue