From aa9f71039b10d1008a4f731204522856d15de6f3 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Tue, 9 Aug 2016 11:19:42 -0400
Subject: Remove legacy code adding useless team name to oauth URLs (#3766)

---
 webapp/components/signup_user_complete.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'webapp/components/signup_user_complete.jsx')

diff --git a/webapp/components/signup_user_complete.jsx b/webapp/components/signup_user_complete.jsx
index 23e115124..eec143996 100644
--- a/webapp/components/signup_user_complete.jsx
+++ b/webapp/components/signup_user_complete.jsx
@@ -591,7 +591,7 @@ export default class SignupUserComplete extends React.Component {
                 <a
                     className='btn btn-custom-login google'
                     key='google'
-                    href={Client.getOAuthRoute() + '/google/signup' + window.location.search + '&team=' + encodeURIComponent(this.state.teamName)}
+                    href={Client.getOAuthRoute() + '/google/signup' + window.location.search}
                 >
                     <span className='icon'/>
                     <span>
@@ -609,7 +609,7 @@ export default class SignupUserComplete extends React.Component {
                 <a
                     className='btn btn-custom-login office365'
                     key='office365'
-                    href={Client.getOAuthRoute() + '/office365/signup' + window.location.search + '&team=' + encodeURIComponent(this.state.teamName)}
+                    href={Client.getOAuthRoute() + '/office365/signup' + window.location.search}
                 >
                     <span className='icon'/>
                     <span>
-- 
cgit v1.2.3-1-g7c22

