We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aa0847 commit fe066aeCopy full SHA for fe066ae
apps/users/serializers/user.py
@@ -35,8 +35,10 @@
35
from django.utils.translation import get_language
36
37
PASSWORD_REGEX = re.compile(
38
- r"^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z_!@#$%^&*`~.()-+=]+$)(?![a-z0-9]+$)(?![a-z_!@#$%^&*`~()-+=]+$)"
39
- r"(?![0-9_!@#$%^&*`~()-+=]+$)[a-zA-Z0-9_!@#$%^&*`~.()-+=]{6,20}$"
+ r"^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z_!@#$%^&*`~.()-+=]+$)"
+ r"(?![a-z0-9]+$)(?![a-z_!@#$%^&*`~()-+=]+$)(?![0-9_!@#$%^&*`~()-+=]+$)"
40
+ r"(?=.*[_!@#$%^&*`~.()-+=])"
41
+ r"[a-zA-Z0-9_!@#$%^&*`~.()-+=]{6,20}$"
42
)
43
44
version, get_key = Cache_Version.SYSTEM.value
0 commit comments