|
|
@ -221,7 +221,7 @@ def user_edit(request):
|
|
|
|
ldap_pwd = gen_rand_pwd(16)
|
|
|
|
ldap_pwd = gen_rand_pwd(16)
|
|
|
|
|
|
|
|
|
|
|
|
if username:
|
|
|
|
if username:
|
|
|
|
user = User.objects.filter(username=username)
|
|
|
|
user = User.objects.get(username=username)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
return HttpResponseRedirect('/')
|
|
|
|
return HttpResponseRedirect('/')
|
|
|
|
|
|
|
|
|
|
|
|