Changeset 15286 for main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
- Timestamp:
- 9 Jan 2019, 11:47:37 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
r15163 r15286 649 649 """ 650 650 651 def validate_secured_password(self, pw, pw_repeat): 652 """ Validates a password by comparing it with 653 control password and checks password strength by 654 matching with the regular expression: 655 656 ^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9]).{8,}$ 657 658 ^ Start anchor 659 (?=.*[A-Z]) Ensure password has one uppercase letters. 660 (?=.*[0-9]) Ensure password has one digit. 661 (?=.*[a-z]) Ensure password has one lowercase letter. 662 .{8,} Ensure password is of length 8. 663 $ End anchor. 664 """ 665 651 666 652 667 class IUsersContainer(IKofaObject):
Note: See TracChangeset for help on using the changeset viewer.