mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Envoi le la variable d'activation du solde
This commit is contained in:
parent
a435f0d1ca
commit
e18c538495
1 changed files with 3 additions and 2 deletions
|
@ -111,8 +111,8 @@ def new_user(request):
|
|||
GTU_sum_up = GeneralOption.get_cached_value('GTU_sum_up')
|
||||
GTU = GeneralOption.get_cached_value('GTU')
|
||||
if user.is_valid():
|
||||
user = user.save(commit=False)
|
||||
user.save()
|
||||
#user = user.save(commit=False)
|
||||
user = user.save()
|
||||
user.reset_passwd_mail(request)
|
||||
messages.success(request, "L'utilisateur %s a été crée, un mail\
|
||||
pour l'initialisation du mot de passe a été envoyé" % user.pseudo)
|
||||
|
@ -860,6 +860,7 @@ def profil(request, users, **_kwargs):
|
|||
'white_list': whitelists,
|
||||
'user_solde': user_solde,
|
||||
'allow_online_payment': allow_online_payment,
|
||||
'solde_activated': OptionalUser.objects.first().user_solde
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue