diff options
author | 2019-08-28 12:58:40 +0200 | |
---|---|---|
committer | 2019-08-28 12:58:40 +0200 | |
commit | 7d02712d11c67cc3b4a835c8871f3b810f2fe993 (patch) | |
tree | 453caa8827a698c41cc1c5025da784b851e2c6e9 /src/components/auth/Signup.js | |
parent | Add suggestion to import Franz account (diff) | |
download | ferdium-app-7d02712d11c67cc3b4a835c8871f3b810f2fe993.tar.gz ferdium-app-7d02712d11c67cc3b4a835c8871f3b810f2fe993.tar.zst ferdium-app-7d02712d11c67cc3b4a835c8871f3b810f2fe993.zip |
Add custom legal documents for thrid party servers.
Diffstat (limited to 'src/components/auth/Signup.js')
-rw-r--r-- | src/components/auth/Signup.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/auth/Signup.js b/src/components/auth/Signup.js index d343284a3..447d5dccc 100644 --- a/src/components/auth/Signup.js +++ b/src/components/auth/Signup.js | |||
@@ -136,6 +136,8 @@ export default @observer class Signup extends Component { | |||
136 | const { intl } = this.context; | 136 | const { intl } = this.context; |
137 | const { isSubmitting, loginRoute, error } = this.props; | 137 | const { isSubmitting, loginRoute, error } = this.props; |
138 | 138 | ||
139 | const termsBase = window.ferdi.stores.settings.all.app.server !== 'https://api.franzinfra.com' ? window.ferdi.stores.settings.all.app.server : 'https://meetfranz.com'; | ||
140 | |||
139 | return ( | 141 | return ( |
140 | <div className="auth__scroll-container"> | 142 | <div className="auth__scroll-container"> |
141 | <div className="auth__container auth__container--signup"> | 143 | <div className="auth__container auth__container--signup"> |
@@ -186,7 +188,7 @@ export default @observer class Signup extends Component { | |||
186 | {intl.formatMessage(messages.legalInfo)} | 188 | {intl.formatMessage(messages.legalInfo)} |
187 | <br /> | 189 | <br /> |
188 | <Link | 190 | <Link |
189 | to="https://meetfranz.com/terms" | 191 | to={ termsBase + '/terms' } |
190 | target="_blank" | 192 | target="_blank" |
191 | className="link" | 193 | className="link" |
192 | > | 194 | > |
@@ -194,7 +196,7 @@ export default @observer class Signup extends Component { | |||
194 | </Link> | 196 | </Link> |
195 | & | 197 | & |
196 | <Link | 198 | <Link |
197 | to="https://meetfranz.com/privacy" | 199 | to={ termsBase + '/privacy' } |
198 | target="_blank" | 200 | target="_blank" |
199 | className="link" | 201 | className="link" |
200 | > | 202 | > |