We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc2ab3 commit 1cf2b24Copy full SHA for 1cf2b24
packages/firebase_auth/firebase_auth/lib/src/user.dart
@@ -673,11 +673,9 @@ class User {
673
}
674
675
MultiFactor get multiFactor {
676
- if (!kIsWeb &&
677
- (defaultTargetPlatform == TargetPlatform.macOS ||
678
- defaultTargetPlatform == TargetPlatform.windows)) {
+ if (!kIsWeb && (defaultTargetPlatform == TargetPlatform.windows)) {
679
throw UnimplementedError(
680
- 'MultiFactor Authentication is only supported on web, Android and iOS.',
+ 'MultiFactor Authentication is only supported on web, Android, iOS and macOS.',
681
);
682
683
return _multiFactor ??= MultiFactor._(_delegate.multiFactor);
0 commit comments