Skip to content
This repository has been archived by the owner on Mar 3, 2025. It is now read-only.

Commit

Permalink
Merge pull request #18 from FaouziaTek/portail-famille-login-modif
Browse files Browse the repository at this point in the history
Portail famille : des modifications des fichies Login
  • Loading branch information
FaouziaTek authored Dec 6, 2024
2 parents a4be5f2 + 727215f commit 64805c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions noethysweb/portail/forms/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ def __init__(self, *args, **kwargs):
def confirm_login_allowed(self, user):
compte_famille = PortailParametre.objects.filter(code="compte_famille").first()
compte_individu = PortailParametre.objects.filter(code="compte_individu").first()
logger.debug("compte_famille: %s" % compte_famille.valeur)
logger.debug("compte_individu: %s" % compte_individu.valeur)

if not user.is_active:
raise ValidationError(_("Ce compte a été désactivé"), code='inactive')
Expand Down
3 changes: 0 additions & 3 deletions noethysweb/portail/views/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ def form_valid(self, form):
portail=True
)
elif user.username.startswith("I"):
print('IIIIII')
print('user.individu.pk',user.individu.pk)

utils_historique.Ajouter(
titre="Connexion au portail individuel",
utilisateur=user,
Expand Down

0 comments on commit 64805c5

Please sign in to comment.