Skip to content

Commit a8ce237

Browse files
warusadurabilelmoussaoui
authored andcommitted
server: Update password_strength field type to i32
Fixes: invalid value: string "i", expected the value signature error
1 parent 99fb168 commit a8ce237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/gnome/prompter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub struct Properties {
5454
skip_serializing_if = "Option::is_none",
5555
default
5656
)]
57-
password_strength: Option<u32>,
57+
password_strength: Option<i32>,
5858
#[serde(
5959
with = "as_value::optional",
6060
skip_serializing_if = "Option::is_none",

0 commit comments

Comments
 (0)