Patch password length limit on change username.

This commit is contained in:
Paul
2021-08-09 14:53:26 +01:00
parent e7065cbf1d
commit e70f848f21
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ lazy_static! {
pub struct Data {
#[validate(length(min = 2, max = 32), regex = "RE_USERNAME")]
username: Option<String>,
#[validate(length(min = 8, max = 72))]
#[validate(length(min = 8, max = 1024))]
password: String,
}

View File

@@ -1 +1 @@
pub const VERSION: &str = "0.5.1-alpha.23";
pub const VERSION: &str = "0.5.1-alpha.24";