class UserAttributeSimilarityValidator:
Validate whether the password is sufficiently different from the user's attributes.
If no specific attributes are provided, look at a sensible list of defaults. Attributes that don't exist are ignored. Comparison is made to not only the full attribute value, but also its components, so that, for example, a password is validated against either part of an email address, as well as the full address.
Constant | DEFAULT_USER_ATTRIBUTES |
Undocumented |
Method | __init__ |
Undocumented |
Method | get_help_text |
Undocumented |
Method | validate |
Undocumented |
Instance Variable | max_similarity |
Undocumented |
Instance Variable | user_attributes |
Undocumented |