Remove this superfluous "registration successful" message
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 29 Jul 2011 13:44:47 +0000 (08:44 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 29 Jul 2011 13:44:47 +0000 (08:44 -0500)
mediagoblin/auth/views.py

index e0d9c8f1b207262d78a65442f7582e1479821a2e..fb5db8704d58d56ff58a1a412510c42280693461 100644 (file)
@@ -69,12 +69,8 @@ def register(request):
             # send verification email
             send_verification_email(user, request)
 
-            # give the user a message and redirect
-            messages.add_message(
-                request,
-                messages.INFO,
-                ('Registration successful! '
-                 'You should get a registration email soon.'))
+            # redirect the user to their homepage... there will be a
+            # message waiting for them to verify their email
             return redirect(
                 request, 'mediagoblin.user_pages.user_home',
                 user=user['username'])