sms verification: add terms of service

This commit is contained in:
Jannis R 2016-11-14 12:31:26 +01:00
parent 594bd35a5e
commit 8ce362b224
No known key found for this signature in database
GPG Key ID: 0FE83946296A88A5
3 changed files with 42 additions and 1 deletions

View File

@ -33,3 +33,15 @@
margin-bottom: 0; margin-bottom: 0;
margin-left: .5em; margin-left: .5em;
} }
.terms {
line-height: 1.3;
opacity: .7;
}
.terms ul {
padding-left: 1.5em;
}
.terms li {
margin-top: .2em;
margin-bottom: .2em;
}

View File

@ -27,6 +27,7 @@ import { Form, Input } from '../../../ui';
import checkIfVerified from '../check-if-verified'; import checkIfVerified from '../check-if-verified';
import checkIfRequested from '../check-if-requested'; import checkIfRequested from '../check-if-requested';
import terms from '../terms-of-service';
import styles from './gatherData.css'; import styles from './gatherData.css';
export default class GatherData extends Component { export default class GatherData extends Component {
@ -85,10 +86,11 @@ export default class GatherData extends Component {
/> />
<Checkbox <Checkbox
className={ styles.spacing } className={ styles.spacing }
label={ 'I agree that my number will be stored.' } label={ 'I agree to the terms and conditions below.' }
disabled={ isVerified } disabled={ isVerified }
onCheck={ this.consentOnChange } onCheck={ this.consentOnChange }
/> />
<div className={ styles.terms }>{ terms }</div>
</Form> </Form>
); );
} }

View File

@ -0,0 +1,27 @@
// Copyright 2015, 2016 Ethcore (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
import React from 'react';
export default (
<ul>
<li>This privacy notice relates to your use of the Parity SMS verification service. We take your privacy seriously and deal in an honest, direct and transparent way when it comes to your data.</li>
<li>We collect your phone number when you use this service. This is temporarily kept in memory, and then encrypted and stored in our EU servers. We only retain the cryptographic hash of the number to prevent duplicated accounts. You consent to this use.</li>
<li>You pay a fee for the cost of this service using the account you want to verify.</li>
<li>Your phone number is transmitted to a third party US SMS verification service Twilio for the sole purpose of the SMS verification. You consent to this use. Twilios privacy policy is here: <a href={ 'https://www.twilio.com/legal/privacy/developer' }>https://www.twilio.com/legal/privacy/developer</a>.</li>
<li><i>Parity Technology Limited</i> is registered in England and Wales under company number <code>09760015</code> and complies with the Data Protection Act 1998 (UK). You may contact us via email at <a href={ 'mailto:admin@parity.io' }>admin@parity.io</a>. Our general privacy policy can be found here: <a href={ 'https://ethcore.io/legal.html' }>https://ethcore.io/legal.html</a>.</li>
</ul>
);