Skip to content
Snippets Groups Projects
Commit a15f1177 authored by Julia Friesel's avatar Julia Friesel
Browse files

Disbale delete pw when current one not given

parent 8ed26f3e
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,10 @@ export default class DeletePassword extends Component {
requestHash('pre-delete-pw-check', this.state.currentPassword)
}
}}
disabled={
this.state.enteringCurrentPassword &&
!this.state.currentPassword
}
style={styles.settingsButton}
>
<AppText style={styles.settingsButtonText}>
......
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