Remove references to home on oauth login
This was needed to launch the new My Library MVP but is no longer needed
@@ -479,14 +479,6 @@ class OAuthCallbackView(View):
)
# Pop the 'next' parameter out of the QueryDict.
next = query_dict.pop("next")
- if "home" in next[0]:
- if user.editor.wp_bundle_eligible:
- # The user is bundle eligible, redirecting them directly
- # to My Library
- return_url = reverse_lazy("users:my_library")
- else:
- return_url = reverse_lazy("home")
- else:
# Set the return url to the value of 'next'. Basic.
return_url = next[0]
# If there is anything left in the QueryDict after popping
