Skip to content

Commit b60670c

Browse files
authored
/compat missing from firebase import (#2917) (#3048)
1 parent eeb9dcc commit b60670c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/auth/getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ like app verification mode for phone authentication, which is useful for
5151
[testing](https://cloud.google.com/identity-platform/docs/test-phone-numbers).
5252

5353
```ts
54-
import { SETTINGS as AUTH_SETTINGS } from '@angular/fire/auth';
54+
import { SETTINGS as AUTH_SETTINGS } from '@angular/fire/compat/auth';
5555

5656
@NgModule({
5757
// ... Existing configuration
@@ -73,7 +73,7 @@ preference. This allows to localize emails but be aware that this only applies
7373
if you use the standard template provided by Firebase.
7474

7575
```ts
76-
import { USE_DEVICE_LANGUAGE } from '@angular/fire/auth';
76+
import { USE_DEVICE_LANGUAGE } from '@angular/fire/compat/auth';
7777

7878
@NgModule({
7979
// ... Existing configuration
@@ -91,7 +91,7 @@ If you want to set a different language, you can use `LANGUAGE_CODE` DI Token
9191
More info at the [firebase auth docs](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#languagecode).
9292

9393
```ts
94-
import { LANGUAGE_CODE } from '@angular/fire/auth';
94+
import { LANGUAGE_CODE } from '@angular/fire/compat/auth';
9595

9696
@NgModule({
9797
// ... Existing configuration
@@ -115,7 +115,7 @@ The possible types are `'local'`, `'session'` or `'none'`. Read more at
115115
[authentication state persistence](https://firebase.google.com/docs/auth/web/auth-state-persistence),
116116

117117
```ts
118-
import { PERSISTENCE } from '@angular/fire/auth';
118+
import { PERSISTENCE } from '@angular/fire/compat/auth';
119119

120120
@NgModule({
121121
// ... Existing configuration
@@ -135,7 +135,7 @@ ID using `TENANT_ID` DI Token (*default: null*).
135135
More tutorials regarding this topic are _coming soon_.
136136

137137
```ts
138-
import { TENANT_ID } from '@angular/fire/auth';
138+
import { TENANT_ID } from '@angular/fire/compat/auth';
139139

140140
@NgModule({
141141
// ... Existing configuration

0 commit comments

Comments
 (0)