Skip to content

Commit 9bb28d0

Browse files
committed
remove language code argument and revert mfaEnabled in config
1 parent dc4bc9d commit 9bb28d0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExample/App/ContentView.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@ struct ContentView: View {
4040
actionCodeSettings.linkDomain = "flutterfire-e2e-tests.firebaseapp.com"
4141
actionCodeSettings.setIOSBundleID(Bundle.main.bundleIdentifier!)
4242
let configuration = AuthConfiguration(
43-
languageCode: "es",
4443
shouldAutoUpgradeAnonymousUsers: true,
4544
tosUrl: URL(string: "https://example.com/tos"),
4645
privacyPolicyUrl: URL(string: "https://example.com/privacy"),
4746
emailLinkSignInActionCodeSettings: actionCodeSettings,
48-
mfaEnabled: false
47+
mfaEnabled: true
4948
)
5049

5150
authService = AuthService(
@@ -69,8 +68,6 @@ struct ContentView: View {
6968
)
7069
)
7170
.withEmailSignIn()
72-
73-
authService.auth.useEmulator(withHost: "127.0.0.1", port: 9099)
7471
}
7572

7673
let authService: AuthService

0 commit comments

Comments
 (0)