aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:09:13 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:09:13 -0500
commit61927e6e802d5d138466a9f3c34c6faa91ec19b6 (patch)
treee2847d65a34b0eaf496713311238ef5a72143347
parentd43b472a08b9debf966015ef2ecfd12e3bc5d9d1 (diff)
downloadmediagoblin-61927e6e802d5d138466a9f3c34c6faa91ec19b6.tar.lz
mediagoblin-61927e6e802d5d138466a9f3c34c6faa91ec19b6.tar.xz
mediagoblin-61927e6e802d5d138466a9f3c34c6faa91ec19b6.zip
resend_activation should give the user a message and redirect them to their user_home
-rw-r--r--mediagoblin/auth/views.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/mediagoblin/auth/views.py b/mediagoblin/auth/views.py
index 7fe507b1..6f3c5165 100644
--- a/mediagoblin/auth/views.py
+++ b/mediagoblin/auth/views.py
@@ -166,4 +166,10 @@ def resend_activation(request):
send_verification_email(request.user, request)
- return redirect(request, 'mediagoblin.auth.resend_verification_success')
+ messages.add_message(
+ request,
+ messages.INFO,
+ 'Resent your verification email.')
+ return redirect(
+ request, 'mediagoblin.user_pages.user_home',
+ user=request.user['username'])