Skip to content

Commit

Permalink
Patch password length limit on change username.
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Aug 9, 2021
1 parent e7065cb commit e70f848
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion set_version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
export version=0.5.1-alpha.23
export version=0.5.1-alpha.24
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs
2 changes: 1 addition & 1 deletion src/routes/users/change_username.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub const VERSION: &str = "0.5.1-alpha.23";
pub const VERSION: &str = "0.5.1-alpha.24";

0 comments on commit e70f848

Please sign in to comment.