From 5ac9053b5acc5244f5b0e967983d174f0e3d44ce Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Sun, 5 Jun 2016 02:44:54 -0400
Subject: Added sign in link to the signup_user_complete page (#3248)

---
 webapp/components/signup_user_complete.jsx | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 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 ad8b94722..b3825f72f 100644
--- a/webapp/components/signup_user_complete.jsx
+++ b/webapp/components/signup_user_complete.jsx
@@ -22,6 +22,12 @@ import {browserHistory, Link} from 'react-router';
 import logoImage from 'images/logo.png';
 
 export default class SignupUserComplete extends React.Component {
+    static get propTypes() {
+        return {
+            location: React.PropTypes.object
+        };
+    }
+
     constructor(props) {
         super(props);
 
@@ -729,6 +735,22 @@ export default class SignupUserComplete extends React.Component {
                                 defaultMessage="Let's create your account"
                             />
                         </h4>
+                        <span className='color--light'>
+                            <FormattedMessage
+                                id='signup_user_completed.haveAccount'
+                                defaultMessage='Already have an account?'
+                            />
+                            {' '}
+                            <Link
+                                to={'/login'}
+                                query={this.props.location.query}
+                            >
+                                <FormattedMessage
+                                    id='signup_user_completed.signIn'
+                                    defaultMessage='Click here to sign in.'
+                                />
+                            </Link>
+                        </span>
                         {signupMessage}
                         {ldapSignup}
                         {emailSignup}
@@ -739,10 +761,4 @@ export default class SignupUserComplete extends React.Component {
             </div>
         );
     }
-}
-
-SignupUserComplete.defaultProps = {
-};
-SignupUserComplete.propTypes = {
-    location: React.PropTypes.object
-};
+}
\ No newline at end of file
-- 
cgit v1.2.3-1-g7c22

