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
|
||||
# ---
|
||||
|
||||
LOGIN_URL = reverse_lazy("authens:login")
|
||||
LOGIN_URL = reverse_lazy("authens:login.cas")
|
||||
LOGOUT_REDIRECT_URL = reverse_lazy("home")
|
||||
AUTHENS_USE_OLDCAS = False
|
||||
AUTHENS_USE_PASSWORD = False
|
||||
|
|
|
@ -4,6 +4,8 @@ Settings pour le dev local de l'annuaire (hors vagrant).
|
|||
|
||||
import os
|
||||
|
||||
from django.urls import reverse_lazy
|
||||
|
||||
from .common import * # NOQA
|
||||
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 = []
|
||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||
|
||||
LOGIN_URL = reverse_lazy("authens:login")
|
||||
AUTHENS_USE_PASSWORD = True
|
||||
|
||||
# ---
|
||||
# Debug tool bar
|
||||
|
|
Loading…
Reference in a new issue