From b88fea3b4b801d65392b92d392aa9a39a4cc87b0 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Fri, 17 Apr 2020 22:08:40 +0200 Subject: [PATCH] Test sur le mot primaire au lieu du mot de pass radius --- users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/views.py b/users/views.py index 78c0332e..77e40701 100644 --- a/users/views.py +++ b/users/views.py @@ -126,7 +126,7 @@ def new_user(request): if user.is_valid(): user = user.save() - if user.pwd_ntlm: + if user.password: user.send_confirm_email_if_necessary(request) messages.success( request,