From a6ae90ac2a74871331707751e823b4746136ff09 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Thu, 17 Dec 2015 12:44:46 -0500
Subject: Add ability to switch between SSO and email account

---
 web/react/pages/claim_account.jsx | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 web/react/pages/claim_account.jsx

(limited to 'web/react/pages/claim_account.jsx')

diff --git a/web/react/pages/claim_account.jsx b/web/react/pages/claim_account.jsx
new file mode 100644
index 000000000..bca203d96
--- /dev/null
+++ b/web/react/pages/claim_account.jsx
@@ -0,0 +1,19 @@
+// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+import ClaimAccount from '../components/claim/claim_account.jsx';
+
+function setupClaimAccountPage(props) {
+    ReactDOM.render(
+        <ClaimAccount
+            email={props.Email}
+            currentType={props.CurrentType}
+            newType={props.NewType}
+            teamName={props.TeamName}
+            teamDisplayName={props.TeamDisplayName}
+        />,
+        document.getElementById('claim')
+    );
+}
+
+global.window.setup_claim_account_page = setupClaimAccountPage;
-- 
cgit v1.2.3-1-g7c22

