From: Christopher Allan Webber Date: Fri, 29 Jul 2011 13:09:13 +0000 (-0500) Subject: resend_activation should give the user a message and redirect them to their user_home X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=61927e6e802d5d138466a9f3c34c6faa91ec19b6;p=mediagoblin.git resend_activation should give the user a message and redirect them to their user_home --- 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'])