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'
]
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_force_reset_password-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9a5b34b31562ab41c7702840f8c3d38657f64046e1d76ffc5ee81a24f9d89a |
|
MD5 | 18dcf8892562c6049daaab2671508e22 |
|
BLAKE2b-256 | ac1d475cc75b68ec105f390b724a82bbc0b24f82b98548ec0a18147ebaf96f0f |
Close
Hashes for django_force_reset_password-0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1220550c00c1566de1bc5fb61d07a07c308354c048057778138bde0a80dc78bc |
|
MD5 | 350ccc6892893573a4ade5a2aed6f721 |
|
BLAKE2b-256 | 62089cc775074f62945ce0108d7ed68169cf925963ec4d1cd55478259df8f44a |