feat: fix otp

This commit is contained in:
2019-01-31 21:57:08 +07:00
parent 67bbcba5e2
commit 12e7f13c1a
2 changed files with 26 additions and 20 deletions

View File

@@ -135,13 +135,14 @@ class RegisterPage extends React.Component {
if (this.state.password.length < 8) {
return message.warning("password need atleast 8 characters");
}
// if (this.state.upload_photo === '') {
// return message.warning("please upload photo");
// }
//
// if (this.state.upload_ktp === '') {
// return message.warning("please upload ktp");
// }
// if (this.state.upload_photo === '') {
// return message.warning("please upload photo");
//}
//
//if (this.state.upload_ktp === '') {
// return message.warning("please upload ktp");
//}
this.setState({ isLoading: true });