diff --git a/opentech/apply/users/templates/users/login.html b/opentech/apply/users/templates/users/login.html index 5f542f6ea06646eac09272371c5be708b8e11788..e80099f534a16cf2623e83a1b574c50017d499eb 100644 --- a/opentech/apply/users/templates/users/login.html +++ b/opentech/apply/users/templates/users/login.html @@ -13,7 +13,7 @@ </form> <div class="wrapper wrapper--inner-space-large"> - <a class="link link--button link--button-long-text" href="{% url "social:begin" "google-oauth2" %}?next={% url "users:account" %}">Log in with your OTF email</a> + <a class="link link--button link--button-long-text" href="{% url "social:begin" "google-oauth2" %}">Log in with your OTF email</a> </div> </div> {% endblock %} diff --git a/opentech/settings/base.py b/opentech/settings/base.py index 1e475ef6fd2a45b0e636123460cf51e3d2afaf70..4171f5bcfbfbe35ba56711d780fc7999ae187219 100644 --- a/opentech/settings/base.py +++ b/opentech/settings/base.py @@ -318,7 +318,7 @@ SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '' SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '' SOCIAL_AUTH_LOGIN_ERROR_URL = 'users:login' -SOCIAL_AUTH_NEW_ASSOCIATION_REDIRECT_URL = 'users:dashboard' +SOCIAL_AUTH_NEW_ASSOCIATION_REDIRECT_URL = 'users:account' # For pipelines, see http://python-social-auth.readthedocs.io/en/latest/pipeline.html?highlight=pipelines#authentication-pipeline # Create / associate accounts (including by email)