Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit ccd15e4

Browse files
hamzahiojamesdaniels
authored andcommitted
auth requirement is now lazy (#593)
see this issue #579
1 parent 3f23274 commit ccd15e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export default Route.extend({
5151
return this.get('session').invalidate();
5252
},
5353
async login() {
54-
const provider = new firebase.auth.GoogleAuthProvider();
5554
const auth = await this.get('firebaseApp').auth();
55+
const provider = new firebase.auth.GoogleAuthProvider();
5656
return auth.signInWithPopup(provider);
5757
}
5858
}

0 commit comments

Comments
 (0)