Skip to content

Commit d33bb91

Browse files
authored
Merge pull request #22 from bugout-dev/spaces-in-pass
Allowed spaces in passwords
2 parents 019c629 + a0267d1 commit d33bb91

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

brood/actions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,6 @@ def verify_password_strength(password: str) -> None:
372372
f"Password must contain at least {required_len} characters"
373373
)
374374

375-
white_space_matches = SPACE_REGEX.search(password)
376-
if white_space_matches is not None:
377-
raise PasswordInvalidParameters(f"Password must not contain spaces")
378-
379375

380376
def verify_username(username: str) -> None:
381377
white_space_matches = SPACE_REGEX.search(username)

0 commit comments

Comments
 (0)