chore: Follow up sso for desktop

This commit is contained in:
Krille 2023-03-26 11:20:54 +02:00
parent d6b3482ce2
commit 0d12c31393
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -112,10 +112,7 @@ abstract class ClientManager {
databaseBuilder: FlutterHiveCollectionsDatabase.databaseBuilder, databaseBuilder: FlutterHiveCollectionsDatabase.databaseBuilder,
supportedLoginTypes: { supportedLoginTypes: {
AuthenticationTypes.password, AuthenticationTypes.password,
if (PlatformInfos.isMobile || AuthenticationTypes.sso,
PlatformInfos.isWeb ||
PlatformInfos.isMacOS)
AuthenticationTypes.sso
}, },
nativeImplementations: nativeImplementations, nativeImplementations: nativeImplementations,
customImageResizer: PlatformInfos.isMobile ? customImageResizer : null, customImageResizer: PlatformInfos.isMobile ? customImageResizer : null,