/// <summary> /// Calls to Fiorebase's login interface and signin /// </summary> public void OnLogin() { if (Validate()) { if (FirebaseAuth.SignIn(EmailText, PasswordText)) { GoToHomePage(); } else { ErrorMessage = "Invalid email or password"; LoginError = true; } } }