aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:44:47 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:44:47 -0500
commitdce5c9cb9b28154edef85f5c9031f6a67be503ea (patch)
treefb5772fbda1a069f6c326942b82fce8081a8f645 /mediagoblin
parentf73f4c4b8425fb49b95a453107e5717caeb38386 (diff)
downloadmediagoblin-dce5c9cb9b28154edef85f5c9031f6a67be503ea.tar.lz
mediagoblin-dce5c9cb9b28154edef85f5c9031f6a67be503ea.tar.xz
mediagoblin-dce5c9cb9b28154edef85f5c9031f6a67be503ea.zip
Remove this superfluous "registration successful" message
Diffstat (limited to 'mediagoblin')
-rw-r--r--mediagoblin/auth/views.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/mediagoblin/auth/views.py b/mediagoblin/auth/views.py
index e0d9c8f1..fb5db870 100644
--- a/mediagoblin/auth/views.py
+++ b/mediagoblin/auth/views.py
@@ -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'])