changed redirect to 404 in change password view
authornishanth
Thu, 15 Apr 2010 18:21:13 +0530
changeset 52 0cd75815847d
parent 51 08da9bd64fca
child 53 0a4b2c49f718
changed redirect to 404 in change password view
reg/views.py
--- a/reg/views.py	Thu Apr 15 18:14:39 2010 +0530
+++ b/reg/views.py	Thu Apr 15 18:21:13 2010 +0530
@@ -240,7 +240,7 @@
 
     user = request.user
     if not user.is_authenticated():
-        return redirect('/reg')
+        raise Http404
 
     if request.method == "POST":
         data = request.POST.copy()