Skip to content
Snippets Groups Projects
Commit 8715f531 authored by Maria Zadnepryanets's avatar Maria Zadnepryanets
Browse files

Merge branch '464-bug-password-is-shown-in-plain-text' into 'rebased-redesign'

Resolve "Bug: Password is shown in plain text"

See merge request bloodyhealth/drip!321
parents 748b5bcb b00b97d4
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,7 @@ export default class ConfirmWithPassword extends Component { ...@@ -70,6 +70,7 @@ export default class ConfirmWithPassword extends Component {
onChangeText={this.handlePasswordInput} onChangeText={this.handlePasswordInput}
placeholder={labels.enterCurrent} placeholder={labels.enterCurrent}
value={password} value={password}
secureTextEntry={true}
/> />
<View style={styles.container}> <View style={styles.container}>
<Button onPress={this.props.onCancel}> <Button onPress={this.props.onCancel}>
......
...@@ -69,12 +69,14 @@ export default class EnterNewPassword extends Component { ...@@ -69,12 +69,14 @@ export default class EnterNewPassword extends Component {
placeholder={labels.enterNew} placeholder={labels.enterNew}
textContentType="password" textContentType="password"
value={password} value={password}
secureTextEntry={true}
/> />
<AppTextInput <AppTextInput
onChangeText={this.handleConfirmationInput} onChangeText={this.handleConfirmationInput}
placeholder={labels.confirmPassword} placeholder={labels.confirmPassword}
textContentType="password" textContentType="password"
value={passwordConfirmation} value={passwordConfirmation}
secureTextEntry={true}
/> />
{shouldShowErrorMessage && {shouldShowErrorMessage &&
<AppText style={styles.error}>{labels.passwordsDontMatch}</AppText> <AppText style={styles.error}>{labels.passwordsDontMatch}</AppText>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment