Skip to main content

A simple Django app to force reset passwords.

Project description

=====
Django force reset password
=====

This is an application to make every users to reset their password(only admin users)

Quick start
-----------

1. Add "django_force_reset_password" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'django_force_reset_password',
]

2. Include the django_force_reset_password URLconf in your project urls.py like this::


from django_force_reset_password.views import pfr_password_change, pfr_login


urlpatterns = [
......
url(r'^admin/login/$', pfr_login),
url(r'^admin/password_change/$', pfr_password_change),
url(r'^admin/', admin.site.urls),
....
]


4. add 'django_force_reset_password.middleware.FPRCheck' in MIDDLEWARE_CLASSES settings like this

MIDDLEWARE_CLASSES = [
....

'django_force_reset_password.middleware.FPRCheck'
]



Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-force-reset-password, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_force_reset_password-0.1-py2-none-any.whl (5.2 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size django_force_reset_password-0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page