예제 #1
0
 /// <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;
         }
     }
 }