Remove this superfluous "registration successful" message
This commit is contained in:
parent
f73f4c4b84
commit
dce5c9cb9b
@ -69,12 +69,8 @@ def register(request):
|
|||||||
# send verification email
|
# send verification email
|
||||||
send_verification_email(user, request)
|
send_verification_email(user, request)
|
||||||
|
|
||||||
# give the user a message and redirect
|
# redirect the user to their homepage... there will be a
|
||||||
messages.add_message(
|
# message waiting for them to verify their email
|
||||||
request,
|
|
||||||
messages.INFO,
|
|
||||||
('Registration successful! '
|
|
||||||
'You should get a registration email soon.'))
|
|
||||||
return redirect(
|
return redirect(
|
||||||
request, 'mediagoblin.user_pages.user_home',
|
request, 'mediagoblin.user_pages.user_home',
|
||||||
user=user['username'])
|
user=user['username'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user