update: otp to redirect

This commit is contained in:
2019-02-01 15:31:32 +07:00
parent 2ad9968fd9
commit ed6efa59ef
5 changed files with 21 additions and 25 deletions

View File

@@ -132,9 +132,9 @@ class RegisterPage extends React.Component {
// return this.props.history.push(LINKS.LOGIN);
if (this.state.password.length < 8) {
return message.warning("password need atleast 8 characters");
}
// 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");