Dénote

Dénote Commit Details

Date:2016-06-14 11:31:13 (2 years 7 months ago)
Author:Grégory Soutadé
Branch:master
Commit:d6b2cad5b85279fe24ba7860303e3a05540a3a1c
Parents: b4e7d6076046d15e34d90aa181f65d0a72a27599
Message:Forgot authenticated parameter when editing user

Changes:
Mdenote/views.py (1 diff)

File differences

denote/views.py
110110
111111
112112
113
113
114114
115115
116116
login = 'login' in request.POST and request.POST['login'] or ''
form = UserForm(instance=user, initial={'password':'', 'login':login})
c = {'user_to_edit' : user, 'form' : form, 'edited' : edited}
c = {'authenticated' : True, 'user_to_edit' : user, 'form' : form, 'edited' : edited}
return render(request, 'edit_user.html', c)

Archive Download the corresponding diff file

Branches

Tags