if(userEmail.isNotEmpty() && userPw.isNotEmpty()){
Log.d("로그인 정보", userEmail)
Firebase.auth.signInWithEmailAndPassword(userEmail,userPw)
.addOnCompleteListener(this){
if(it.isSuccessful){
startActivity(
Intent(this, MainActivity::class.java)
)
finish()
} else {
Log.w("LoginActivity", "signInWithEmail", it.exception)
//Toast.makeText(this, "입력한 정보를 다시 확인해주세요", Toast.LEGTH_SHORT).show()
alertDialog.show()
}
}
} else {
Toast.makeText(this, "로그인 정보를 입력해주세요!", Toast.LEGTH_SHORT).show()
}