From 7d40748d01c931cc29abf47ede2457376a007930 Mon Sep 17 00:00:00 2001 From: hmhealey Date: Wed, 5 Aug 2015 16:07:20 -0400 Subject: Added ShowTermsDuringSignup config option on the client which toggles the Terms of Service disclaimer on signup --- web/react/components/signup_user_complete.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'web/react/components/signup_user_complete.jsx') diff --git a/web/react/components/signup_user_complete.jsx b/web/react/components/signup_user_complete.jsx index a296345b1..b21553d8a 100644 --- a/web/react/components/signup_user_complete.jsx +++ b/web/react/components/signup_user_complete.jsx @@ -166,6 +166,11 @@ module.exports = React.createClass({ ); } + var termsDisclaimer = null; + if (config.ShowTermsDuringSignup) { + termsDisclaimer =

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.

; + } + return (
@@ -196,7 +201,7 @@ module.exports = React.createClass({

{serverError} -

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.

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