From bc05f3b61138abca72d2f25727b29322e9f7c039 Mon Sep 17 00:00:00 2001 From: miguelfr Date: Mon, 1 Jun 2020 11:12:03 -0300 Subject: [PATCH] estaba incompleto ahora si se puede copiar y funciona "this.afAuth.auth." --- docs/auth/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/auth/getting-started.md b/docs/auth/getting-started.md index 764adad93..fa0966142 100644 --- a/docs/auth/getting-started.md +++ b/docs/auth/getting-started.md @@ -27,13 +27,13 @@ import { auth } from 'firebase/app'; `, }) export class AppComponent { - constructor(public auth: AngularFireAuth) { + constructor(public afAuth: AngularFireAuth) { } login() { - this.auth.signInWithPopup(new auth.GoogleAuthProvider()); + this.afAuth.auth.signInWithPopup(new auth.GoogleAuthProvider()); } logout() { - this.auth.signOut(); + this.afAuth.auth.signOut(); } } ```