From 1b8f099c48c4d21650dab9354c92af69af7e9c3a Mon Sep 17 00:00:00 2001 From: Jason Chao Date: Tue, 7 Mar 2023 13:11:04 +0000 Subject: [PATCH] Update coordination.py corrected the regex in the validator for username --- apptraffic-control/coordination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apptraffic-control/coordination.py b/apptraffic-control/coordination.py index a56497e..7d66670 100644 --- a/apptraffic-control/coordination.py +++ b/apptraffic-control/coordination.py @@ -72,7 +72,7 @@ def is_valid_username(self, input): return False if not checkers.has_length(input, minimum=6): return False - if not re.search("[a-z]", input): + if re.search("[^a-z]", input): return False return True