Skip to content
This repository was archived by the owner on Oct 14, 2019. It is now read-only.

Commit 64bc612

Browse files
committed
fix auth service use AngularFireAuth instead of FirebaseAuth
1 parent 2210abb commit 64bc612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/shared/security/auth.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Injectable } from '@angular/core';
22
import {Observable, Subject, BehaviorSubject} from "rxjs/Rx";
3-
import {FirebaseAuth, FirebaseAuthState} from "angularfire2/index";
3+
import {AngularFireAuth, FirebaseAuthState} from "angularfire2";
44
import {AuthInfo} from "./auth-info";
55
import {Router} from "@angular/router";
66

@@ -13,7 +13,7 @@ export class AuthService {
1313
authInfo$: BehaviorSubject<AuthInfo> = new BehaviorSubject<AuthInfo>(AuthService.UNKNOWN_USER);
1414

1515

16-
constructor(private auth: FirebaseAuth, private router:Router) {
16+
constructor(private auth: AngularFireAuth, private router:Router) {
1717

1818
}
1919

0 commit comments

Comments
 (0)