On active le mdp en local
This commit is contained in:
parent
22daae8335
commit
fbe0160948
2 changed files with 5 additions and 1 deletions
|
@ -106,7 +106,7 @@ USE_TZ = True
|
||||||
# Settings CAS
|
# Settings CAS
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
LOGIN_URL = reverse_lazy("authens:login")
|
LOGIN_URL = reverse_lazy("authens:login.cas")
|
||||||
LOGOUT_REDIRECT_URL = reverse_lazy("home")
|
LOGOUT_REDIRECT_URL = reverse_lazy("home")
|
||||||
AUTHENS_USE_OLDCAS = False
|
AUTHENS_USE_OLDCAS = False
|
||||||
AUTHENS_USE_PASSWORD = False
|
AUTHENS_USE_PASSWORD = False
|
||||||
|
|
|
@ -4,6 +4,8 @@ Settings pour le dev local de l'annuaire (hors vagrant).
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from django.urls import reverse_lazy
|
||||||
|
|
||||||
from .common import * # NOQA
|
from .common import * # NOQA
|
||||||
from .common import BASE_DIR, INSTALLED_APPS, MIDDLEWARE, TESTING
|
from .common import BASE_DIR, INSTALLED_APPS, MIDDLEWARE, TESTING
|
||||||
|
|
||||||
|
@ -34,6 +36,8 @@ CACHES = {"default": {"BACKEND": "django.core.cache.backends.locmem.LocMemCache"
|
||||||
AUTH_PASSWORD_VALIDATORS = []
|
AUTH_PASSWORD_VALIDATORS = []
|
||||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||||
|
|
||||||
|
LOGIN_URL = reverse_lazy("authens:login")
|
||||||
|
AUTHENS_USE_PASSWORD = True
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# Debug tool bar
|
# Debug tool bar
|
||||||
|
|
Loading…
Add table
Reference in a new issue