diff --git a/app/src/main/java/org/ntlab/amaryllis/client/SignUpActivity.java b/app/src/main/java/org/ntlab/amaryllis/client/SignUpActivity.java index d97a7d1..7c34b9a 100644 --- a/app/src/main/java/org/ntlab/amaryllis/client/SignUpActivity.java +++ b/app/src/main/java/org/ntlab/amaryllis/client/SignUpActivity.java @@ -43,12 +43,12 @@ Amaryllis amaryllis =(Amaryllis) getApplication(); String uid = amaryllis.getUid(); String passWord = amaryllis.getPassword(); -// if(uid.length() != 0 && passWord.length() != 0){ -// signUpService.accountLogin(uid,passWord); -// Intent intent = new Intent(SignUpActivity.this, MainActivity.class); -// startActivity(intent); -// finish(); -// } + if(uid.length() != 0 && passWord.length() != 0){ + signUpService.accountLogin(uid,passWord); + Intent intent = new Intent(SignUpActivity.this, MainActivity.class); + startActivity(intent); + finish(); + } passWordEditText = (EditText) findViewById(R.id.passWord); passWordEditText.addTextChangedListener(this); passWordTextView = findViewById(R.id.passWord);