Skip to content

Commit a30b106

Browse files
fix issues/21399 (open-webui#21400)
1 parent d33ad46 commit a30b106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/open_webui/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ def parse_section(section):
478478
)
479479
PASSWORD_VALIDATION_REGEX_PATTERN = os.environ.get(
480480
"PASSWORD_VALIDATION_REGEX_PATTERN",
481-
"^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\w\s]).{8,}$",
481+
r"^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\w\s]).{8,}$",
482482
)
483483

484484

0 commit comments

Comments
 (0)