Commit 0653552f authored by Daniel W Bond's avatar Daniel W Bond
Browse files

again, the redirect to the welcome page does not involve usernames in the url

parent d65ebc70
......@@ -59,9 +59,7 @@ class AccountAdapter(DefaultSocialAccountAdapter):
# as a reminder, here is how django handles messages
messages.add_message(request, messages.ERROR, error_message)
social_redirect = HttpResponseRedirect(reverse('welcomeSocial', kwargs={
'slug': request.user.username,
social_redirect = HttpResponseRedirect(reverse('welcomeSocial'))
raise ImmediateHttpResponse(social_redirect)
messages.add_message(request, messages.ERROR, error_message)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment