From 74c63fa9e851793a4f48e5dbc6391e99383a054b Mon Sep 17 00:00:00 2001
From: Dan Braghis <dan.braghis@torchbox.com>
Date: Thu, 11 Jan 2018 15:45:04 +0000
Subject: [PATCH] Allow user association

---
 opentech/settings/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/settings/base.py b/opentech/settings/base.py
index 790a22884..6eeb6762c 100644
--- a/opentech/settings/base.py
+++ b/opentech/settings/base.py
@@ -297,9 +297,9 @@ SOCIAL_AUTH_PIPELINE = (
     'social_core.pipeline.social_auth.auth_allowed',
     'social_core.pipeline.social_auth.social_user',
     'social_core.pipeline.user.get_username',
+    'social_core.pipeline.social_auth.associate_by_email',
     'social_core.pipeline.user.create_user',
     'social_core.pipeline.social_auth.associate_user',
     'social_core.pipeline.social_auth.load_extra_data',
     'social_core.pipeline.user.user_details',
-    'social_core.pipeline.social_auth.associate_by_email',
 )
-- 
GitLab