The signIn call come from login.component.ts and i...
# javascript
k
The signIn call come from login.component.ts and is handled as follows:
Copy code
handleLogin(mail: string, pw: string) {
    this.loading = true;
    this.supabase.signIn(mail, pw).then((res) => {
      console.log(res);
      console.log(this.supabase.user)
      alert('Logged in!');
    }).catch((err) => {
      console.log(err)
      this.loading = false;
    });
  }
Console output:
Copy code
Object { data: null, user: null, session: null, error: {…} }
null