django-password-policies icon indicating copy to clipboard operation
django-password-policies copied to clipboard

Django unicode-aware password policies.

Results 8 django-password-policies issues
Sort by recently updated
recently updated
newest added

Hi, I have forked the project and I continue the work in my fork: https://github.com/iplweb/django-password-policies-iplweb Feel free to report any issues, patches, docs improvements also badly needed. I'm using this...

Changes in Django 1.10 means MIDDLEWARE_CLASSES now becomes MIDDLEWARE. password_policies.middleware.PasswordChangeMiddleware now broken: ``` in load_middleware mw_instance = middleware(handler) TypeError: object() takes no parameters ``` https://docs.djangoproject.com/en/1.10/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware All it seems to need...

I've resolved the issues with two of the deprecations upgrading to Django 1.10. See https://docs.djangoproject.com/en/1.10/releases/1.10/#features-removed-in-1-10 - django.conf.urls.patterns() is removed. - The backwards compatibility shim to allow FormMixin.get_form() to be defined...

There is import of _django.conf.urls.patterns_ in https://github.com/tarak/django-password-policies/blob/master/password_policies/urls.py on line #1 that is deprecated from Django 1.8 and removed in Django 1.10 . Import of _django.conf.urls.patterns_ causes "ImportError: cannot import name...

Changes in Django 1.10 middleware stuff now means password_policies.middleware.PasswordChangeMiddleware is now broken. [https://docs.djangoproject.com/en/1.10/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware](https://docs.djangoproject.com/en/1.10/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware) Small change here fixes it.

Does this app require users to change the Django setting `SESSION_SERIALIZER` to `'django.contrib.sessions.serializers.PickleSerializer'`? Based on the Django documentation, this seems like a fairly steep price to pay: https://docs.djangoproject.com/en/1.7/topics/http/sessions/#session-serialization. Is there...

I suggest a Setting that forces password changes on first login, as this is required by many safety standards.

enhancement