forked from DGNum/gestioCOF
Fix mistake introduced in 51f4bf3fb5
This commit is contained in:
parent
50432d969f
commit
35b352ac1d
1 changed files with 2 additions and 2 deletions
|
@ -282,10 +282,10 @@ def get_account_create_forms(request=None, username=None, login_clipper=None,
|
|||
|
||||
# Form créations
|
||||
if request:
|
||||
user_form = UserForm(request.POST, initial=user_initial, from_clipper=True)
|
||||
user_form = UserForm(request.POST, initial=user_initial)
|
||||
cof_form = CofForm(request.POST, initial=cof_initial)
|
||||
else:
|
||||
user_form = UserForm(initial=user_initial, from_clipper=True)
|
||||
user_form = UserForm(initial=user_initial)
|
||||
cof_form = CofForm(initial=cof_initial)
|
||||
|
||||
# Protection (read-only) des champs username et login_clipper
|
||||
|
|
Loading…
Reference in a new issue