mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
fix: bad url in 'stats' extension.
fix: bad url in chpassword form.
This commit is contained in:
+2
-2
@@ -42,7 +42,7 @@ def changepassword(request):
|
||||
return HttpResponse(simplejson.dumps(ctx), mimetype="application/json")
|
||||
|
||||
form = ChangePasswordForm(target)
|
||||
return render_to_response('userprefs/chpassword.html', {
|
||||
return _render(request, 'userprefs/chpassword.html', {
|
||||
"form" : form
|
||||
})
|
||||
|
||||
@@ -79,7 +79,7 @@ def savepreferences(request):
|
||||
|
||||
@login_required
|
||||
def confirm(request):
|
||||
return render_to_response('userprefs/confirm.html', {
|
||||
return _render(request, 'userprefs/confirm.html', {
|
||||
"msg" : request.GET["question"]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user