Skip to content

Commit

Permalink
Update new user password regex (#151)
Browse files Browse the repository at this point in the history
* Update user creation popup regex to match server-side and registration page

* Update changelog
  • Loading branch information
JackBailey authored Jun 5, 2024
1 parent 9c7463c commit cc5bc32
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.10.1] - 2024-06-05

- Update new user password regex to match regex internally and on registration page

## [1.10.0] - 2024-05-28

- Allow for 63 character TLDs, as per DNS spec
Expand Down Expand Up @@ -204,4 +208,3 @@ First release, production ready
- Import/Export
- Add ShareX support


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.0
1.10.1
2 changes: 1 addition & 1 deletion frontend/src/components/Popups/CreateUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
name="password"
label="Password"
help="At least 1 lowercase, 1 uppercase, 1 number and 1 special character. Minimum of 12 characters"
:validation="[['required'], ['matches', /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&._-])[A-Za-z\d@$!%*?&._-]{12,}$/]]"
:validation="[['required'], ['matches', /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*\W)(?!.* ).{12,}$/]]"
:validation-messages="{
matches: 'Password does not match requirements.',
}"
Expand Down
6 changes: 5 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc5bc32

Please sign in to comment.