From 6222d2cb3040b5c64c7cdf6a2724e694351442d6 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Wed, 29 Jul 2015 16:17:20 -0400 Subject: Fixing links for signup from team invite link. Enter now advances signup_user_complete screen. Signin now link now redirects properly. --- web/react/components/email_verify.jsx | 2 +- web/react/components/signup_user_complete.jsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'web/react/components') diff --git a/web/react/components/email_verify.jsx b/web/react/components/email_verify.jsx index 168608274..678eb9928 100644 --- a/web/react/components/email_verify.jsx +++ b/web/react/components/email_verify.jsx @@ -11,7 +11,7 @@ module.exports = React.createClass({ var resend = ""; if (this.props.isVerified === "true") { title = config.SiteName + " Email Verified"; - body =

Your email has been verified! Click here to log in.

; + body =

Your email has been verified! Click Please verify your email address. Check your inbox for an email.

; diff --git a/web/react/components/signup_user_complete.jsx b/web/react/components/signup_user_complete.jsx index 670aab943..03808e821 100644 --- a/web/react/components/signup_user_complete.jsx +++ b/web/react/components/signup_user_complete.jsx @@ -58,7 +58,7 @@ module.exports = React.createClass({ }.bind(this), function(err) { if (err.message == "Login failed because email address has not been verified") { - window.location.href = "/verify_email?email="+ encodeURIComponent(this.state.user.email) + "&domain=" + encodeURIComponent(this.props.teamName); + window.location.href = "/verify_email?email="+ encodeURIComponent(this.state.user.email) + "&teamname=" + encodeURIComponent(this.props.teamName); } else { this.state.server_error = err.message; this.setState(this.state); @@ -107,7 +107,7 @@ module.exports = React.createClass({
What's your email address?
- + { email_error }
@@ -123,6 +123,7 @@ module.exports = React.createClass({ return (
+
Welcome to:

{ this.props.teamDisplayName }

@@ -148,9 +149,10 @@ module.exports = React.createClass({
-

+

{ server_error }

By creating an account and using Mattermost you are agreeing to our Terms of Service. If you do not agree, you cannot use this service.

+ ); } -- cgit v1.2.3-1-g7c22