Skip to content

Commit

Permalink
Fix wrong if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Xero-Hige committed Jul 14, 2016
1 parent 6f58d50 commit 2d95221
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ private boolean validateFields() {
return false;
}

if (!UserHandler.isValidPassword(mPasswordView.getText().toString())) {
if (!UserHandler.isValidPassword(mPasswordView.getText().toString())
&& mActivityAction.equals(PROFILE_ACTION_CREATE)) {
Utility.showMessage("Password invalida", Utility.getViewgroup(this));
return false;
}
Expand Down

0 comments on commit 2d95221

Please # to comment.